**** BEGIN LOGGING AT Sun May 23 02:59:57 2010 May 23 07:03:22 whenever I connect my FR (running qtmoko v22) via usb as eth1, my laptop loses internet connect.. can someone help ? May 23 07:24:10 hipitihop: looks like your laptop uses some inappropriate NM configuration? May 23 07:25:56 PaulFertser, using a standard ubuntu lucid install May 23 07:27:29 PaulFertser, I only seem to be able to connect the fr as eth1 using the following script ... http://ubuntu.pastebin.com/t96tp7Xw May 23 07:36:33 hipitihop: why that wide netmask? May 23 07:36:52 /30 is enough May 23 07:37:36 And there's no need to add the routing entry manually, i think May 23 07:38:19 hipitihop: it's also unclear why you need a script in the first place, it should be handled automatically by your distro configuration. I just added the relevant config options to /etc/network/interfaces on Debian. May 23 13:01:39 ping May 23 13:02:08 test May 23 13:02:26 anyone can see my posts? May 23 13:04:32 damn tinyirc May 23 13:05:57 ping. is my question visible? May 23 13:06:28 hm... May 23 13:19:58 test May 23 13:20:10 nice. ok, anyone can hear me? May 23 13:21:48 ok, I'll assume everyone is too lazy to type May 23 13:22:25 Mine question is about 2.6.32 kernel compilation May 23 13:24:08 gena2x, your irc is working May 23 13:24:27 oh, thanks May 23 13:24:35 gena2x, you might wanna head over to #openmoko-cdevel to ask these questions May 23 13:24:54 ok, ok, thanks :) May 23 13:25:57 or are in other screen May 23 13:25:59 i'm just ircing from freerunner, so very unsure about everything including new client May 23 13:29:25 what' IRC? May 23 13:29:32 oh May 23 23:14:23 PaulFertser, sorry, got side tracked last night. did not mean to leave you hanging.. regarding my script, tha tis a script I have been using ever since I got my FR 2 years ago and was suggested by someone or the wiki. I would love a simple way to just plug in my FR and ssh in. May 23 23:25:25 hipitihop: what sort of script is that? May 23 23:28:48 j_14, http://ubuntu.pastebin.com/t96tp7Xw May 23 23:30:09 j_14, it is a script that was suggested here on on the wiki nearly two years ago since I have had my fr. And apart from changing the if like usb0, eth2 or eth1, it is what I have had to use to connect my fr via usb and ssh in May 23 23:30:33 my laptop distro is ubuntu May 23 23:31:55 according to PaulFertser, it should be easier and I should not need a script... the only complication at the moment for me is if I use this script on my current distro (Lucid), I lose conneciton to my network on my laptop, so it is time to review how I do all this May 23 23:35:18 look at my script, ip addr add 192.168.0.200/32 dev usb0 May 23 23:35:18 ip li set usb0 up May 23 23:35:31 uggh sory May 23 23:38:23 http://ubuntu.pastebin.com/7UG1m5rB May 23 23:43:24 wow considerably simpler May 23 23:43:49 do you know if there is a way control which dev it appears as ? May 23 23:45:14 not that i know of, note that you still need to add the port forwarding part May 23 23:47:13 so how come each fr distro (and sometimes even versions) seem to come up differently ? .. I know my earlier attempts always showed as usb0, then when I was using shr it moved to eth2, now qtmoko is back to eth1... or is that being decided by my own laptop distro ? May 23 23:50:38 on my laptop i always get the usb networking interface as usb0, and the same on the FR May 23 23:51:08 my guess is that the kernel on each side decides how to label its own interface May 23 23:51:52 and my current problem is that when I do connect on eth1 using my script (which never used to be a problem) I now lose network/internet on my laptop May 23 23:52:47 I've been avoiding having to understand and learn the deeper workings of networking ... looks like I will need to dive in to resolve this.... May 23 23:53:59 is the address on your laptop 192.168.0.* ? May 23 23:54:14 what I don't understand is why it has always been so involved to get fr connected. other devices seem to just plugin and go. Perhaps that is what PaulFertser was refering to not needing a script May 23 23:54:56 yes my entire home network is 192.168.0.x wired & wireless May 23 23:56:26 when setting the address for the usb interface make your netmask /32 (i.e. 255.255.255.255) May 23 23:59:07 same as your script does ? May 23 23:59:11 i suspect that you are "loosing" your network because your laptop is trying to use the usb interface to connect to your gateway May 24 00:00:03 exactly, just use mine or change line the netmask on line 4 of yours May 24 00:00:58 my routing prior to connecting is this http://ubuntu.pastebin.com/HeetjbGi May 24 00:03:53 ok, lets see what happens when you run the sript May 24 00:06:56 works perfectly ... obviously I had to switch the usb0 for eth1, but I can ssh into fr, fr, sees network and can get out also and laptop is also happy.. nice May 24 00:08:10 that excellent, thanks for your help May 24 00:08:29 so how long does that stay in effect ? do you have to run that each time you reconnect the fr to the usb cable ? May 24 00:10:12 if you disconnect the fr your usb interface will go down and youll loose the setting, the port forwarding will persist untill you reboot May 24 00:13:04 errm i should say packet forwarding not port forwarding... May 24 00:13:55 seems so, I have just unplugged and replugged and it no longer sees it... so I'll google about to see how to get my ubuntu distro run that setup as soon as the fr connects each time on teh cable May 24 00:16:58 that would be nice, good luck May 24 00:17:29 j_14, many thanks for your help May 24 00:17:47 you're welcome! **** ENDING LOGGING AT Mon May 24 02:59:56 2010