View Single Post
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#3
I just installed Porteus on my ext2 formatted microsd card (fat will work too) and I can boot my netbook from it.
Of course once there is this USB cable between those two devices the next idea would be tethering. Unfortunately that brngs up two problems:

1. Afaik the N900 can't be run in mass storage mode and in PC suite mode at the same time. (If I'm wrong please tell me!) So after loading Porteus we need to disconnect the N900 and reconnect it in PC suite mode. To accomplish that I booted Porteus with the copy2ram parameter. Unfortunartely the changes* folder still needs the mass storage on the N900. So the only really safe method at first is to boot in fresh** mode. I think the changes folder issue could be addressed by copying it to a ramdisk and to mount that before disconnecting the N900. Of course at the end of the session one would have to write the changes back but that shouldn't be a problem.

2. For some reason Porteus doesn't get an IP address via the N900. ifconfig shows usb0 but dhcpcd says this:
Code:
root@porteus:~# dhcpcd usb0
dhcpcd[2650]: version 5.2.11 starting
dhcpcd[2650]: usb0: waiting for carrier
dhcpcd[2650]: timed out
dhcpcd[2650]: allowing 8 seconds for IPv4LL timeout
dhcpcd[2650]: timed out
and dmesg says:
Code:
ADDRCONF(NETDEV_UP): usb0: link is not ready
I'm by no means a network expert so maybe I'm just missing something very basic. I've already blacklisted ipv6 and dmesg outputs this:
Code:
root@porteus:~# dmesg | tail
[  126.017729] NET: Registered protocol family 35
[  126.064498] cdc_acm 1-3:1.6: This device cannot do calls on its own. It is not a modem.
[  126.064802] cdc_acm 1-3:1.6: ttyACM0: USB ACM device
[  126.067675] usbcore: registered new interface driver cdc_acm
[  126.067685] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[  126.119877] usbcore: registered new interface driver cdc_phonet
[  126.158438] cdc_ether 1-3:1.8: usb0: register 'cdc_ether' at usb-0000:00:1d.7-3, CDC Ethernet Device, c2:75:e8:e6:ed:c7
[  126.158510] usbcore: registered new interface driver cdc_ether
So if anybody has suggestions I'd like to hear them! I'll also ask in the Slax forum for some help.


*) Slax/Porteus storage folder for persistent changes (works like an overlaying mount)
**) boot Slax/Porteus in its original configuration by not loading the changes folder

Last edited by sulu; 2011-11-18 at 20:47.