Re: possible to use wifi and usb networking at the same time? (qtmoko)
hi Ed, thanks for your reply. in the end was easy, just use wifi through the internal network... my setup us a rather standard setup I guess: Desktop (OpenSuse) - Freerunner via USB, ssh OK, Masquerading apparently not Desktop - Router via LAN Freerunner - Router via Wifi Freerunner - Desktop via Wifi, ssh without problems. But as this was so easy, it was now definetly the time to set up a root password on the freerunner... br robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: possible to use wifi and usb networking at the same time? (qtmoko)
Paul Wise pabs3 at bonedaddy.net writes: Thats a bug in QtMoko's network setup, it seems to take full control of the kernel's networking setup without asking the kernel what networks are setup already and should remain. It also needs to be aware that not all network interfaces are managed by the QtMoko network UI. You can work around it by starting the USB network from a terminal after starting the WiFi. Run ifup usb0 if using ifupdown for the USB connection (which is the default on Debian). That will give you two default routes because ifupdown also doesn't pay attention to existing kernel network state, but you will still be able to login. If USB is not connected or not forwarding connections then you may need to delete the extra default route to connect to the Internet though: ip route del default via 192.168.0.200 dev usb0 hi paul, is this bug also causing the network interface on the freerunner to change type once in a while. Sometimes my usb/ssh connection fails and if I then go to the setup of my network I see that there is a new interface on the freerunner which hasn't been configured yet and the one which previously was working stopped doing so. br robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
possible to use wifi and usb networking at the same time? (qtmoko)
hi I somehow messed up my routing, so I can no longer access the internet/router from my freerunner (ping 192.168.0.200 works 192.168.0.1 (router) doesn't anymore). Now I thought as long as I can log in via ssh from my desktop I could still access the internet from my phone, by powering on wifi. BUT as soon as the wifi connection is up (and actually permits me to access the internet) my usb connection dies... so I was wondering if there is a setup, where you can just ssh into your phone power up wifi (maybe even from command line) and still have fully functional usb access to the phone. best regards and happy new year robin ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: possible to use wifi and usb networking at the same time? (qtmoko)
On 01/04/2013 04:02 PM, robin wrote: hi I somehow messed up my routing, so I can no longer access the internet/router from my freerunner (ping 192.168.0.200 works 192.168.0.1 (router) doesn't anymore). Now I thought as long as I can log in via ssh from my desktop I could still access the internet from my phone, by powering on wifi. BUT as soon as the wifi connection is up (and actually permits me to access the internet) my usb connection dies... so I was wondering if there is a setup, where you can just ssh into your phone power up wifi (maybe even from command line) and still have fully functional usb access to the phone. best regards and happy new year robin Hi Robin, Can you ssh to the wifi address of the FR? That way it wouldn't matter if the USB connection dies. Can you tell a bit more about your setup? 192.168.0.200 is connected to an usb port on your router? What kind of router is it? a linux box with multiple interfaces? Are you able to open up a terminal on the FR and access the command line? Kind regards, Ed ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: possible to use wifi and usb networking at the same time? (qtmoko)
Thats a bug in QtMoko's network setup, it seems to take full control of the kernel's networking setup without asking the kernel what networks are setup already and should remain. It also needs to be aware that not all network interfaces are managed by the QtMoko network UI. You can work around it by starting the USB network from a terminal after starting the WiFi. Run ifup usb0 if using ifupdown for the USB connection (which is the default on Debian). That will give you two default routes because ifupdown also doesn't pay attention to existing kernel network state, but you will still be able to login. If USB is not connected or not forwarding connections then you may need to delete the extra default route to connect to the Internet though: ip route del default via 192.168.0.200 dev usb0 -- bye, pabs http://wiki.openmoko.org/wiki/User:PaulWise ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community