brolin_empey | You can use a USB↔Ethernet adapter on the N900, at least with the asix Linux driver in the power kernel. | 06:48 |
---|---|---|
Oksanaa | brolin_empey: How does it show up in GUI? | 06:54 |
Oksanaa | I have a USB-Ethernet adapter (or two), but most of my Nokia N900s have broken microUSB port. | 06:54 |
Maxdamantus | I imagine it wouldn't show up in the usual Maemo GUI. | 06:57 |
Oksanaa | Maxdamantus: Interesting. Is it the same for USB Internet? | 07:01 |
* Oksanaa wonders how it could be written into GUI - but later, later. Doable but not urgent. | 07:02 | |
Maxdamantus | I'm not familiar with the way USB ethernet (presumably under g_nokia/"PC Suite mode") works. | 07:03 |
* Maxdamantus just uses g_ether and uses `ifconfig` to set a static IP address there. | 07:04 | |
Oksanaa | GUI presumably also interacts with ifconfig or something like that? | 07:07 |
Maxdamantus | I doubt it. I can see when connecting to a WiFi network, it uses `udhcpc` to make DHCP requests. I suspect for a static address configuration, the calls would just be made within the icd2 process, but dunno. | 07:09 |
Maxdamantus | afaict, the way you set the IP address of an interface on Linux is by creating a socket with protocol = IPPROTO_IP, and then you can perform a `SIOCSIFADDR` ioctl on that fd to set the address of any interface. | 07:16 |
Maxdamantus | so probably easy enough to just do within icd2 or some plugin or whatever, dunno how icd works. | 07:16 |
Maxdamantus | DHCP is more complicated, so it makes sense to run another program to handle that. | 07:17 |
KotCzarny | i think she has normal usb2eth dongle | 07:36 |
KotCzarny | which should show as ethX | 07:36 |
KotCzarny | so itbut anyway, ifconfig/udhcpc should work | 07:37 |
KotCzarny | as long the dongle's chip is supported in 2.6 kernel | 07:37 |
Maxdamantus | Indeed, when I said I suspect the GUI wouldn't show it, that's just because the GUI probably only deals with "wlan0" and maybe "gprs0", etc, rather than any arbitrary device that the kernel exposes. | 07:44 |
KotCzarny | oh and there is issue about power | 07:45 |
KotCzarny | n900's musb might not supply enough | 07:45 |
brolin_empey | It has been years since I connected my N900 to a wired LAN but, if I recall correctly, I had to use ifconfig or ip, route, and other programs from the Command-Line Interface to get it working. I used the D-Link DUB-E100 model of USB↔Fast Ethernet adapter because it is what was used by a YouTube video demonstrating connecting the N900 to a wired LAN with this model of adapter but they had an earlier revision of the adapter that I could no longer buy so I | 08:44 |
brolin_empey | had to patch the asix driver in the power kernel for Maemo 5 to add the new USB vendor:product identifier combinations that had been added to the asix driver in the mainline kernel since the 2.6.28 kernel used by Maemo 5. I think the file I had to patch is named asix_devices.c but that was in 2013, which is six years ago. | 08:44 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!