Strange behaviors of Wheezy/Pogo Mobile with wifi dongle September 23, 2014 10:12PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle September 29, 2014 07:27AM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle September 29, 2014 12:35PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 01, 2014 11:43AM |
Registered: 10 years ago Posts: 1,037 |
The script does what you mentioned and more, you can both ways with the lan -> wifi <-lan / wifi to wifi etc also if your adaptor supports it add wifi and share the wifi off the same adaptor. its a VERY adaptable script. What is your use case that you are trying to address? ie how are you looking to use what to do what?
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 01, 2014 12:16PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 01, 2014 01:20PM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 01, 2014 03:04PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 03, 2014 03:33AM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 03, 2014 11:42AM |
Registered: 14 years ago Posts: 408 |
pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf post-down killall -q wpa_supplicant
auto wlan0 iface wlan0 inet static address 192.168.x.xx gateway 192.168.x.1 network 192.168.x.0 netmask 255.255.255.0 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 03, 2014 05:56PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 04, 2014 05:59AM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 04, 2014 06:20PM |
Registered: 14 years ago Posts: 408 |
allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant.conf iface default inet dhcp
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 04, 2014 08:03PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 04, 2014 10:55PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 03:52AM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 10:23AM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 11:36AM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 12:01PM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 12:58PM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 01:11PM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 01:39PM |
Admin Registered: 14 years ago Posts: 19,290 |
Quote
Gravelrash
> What you are experiencing is because the load
> order of the network is eth0 then wlan0. I managed
> to replicate your situation by having the eth0 and
> wlan0 on the same network segment. the result of
> which (caused by binding order of the network
> interfaces) was for the routing table to
> preference eth0 over wlan0 and build the routing
> table accordingly.
>
> When the eth0 was downed/unplugged this removed
> the default route statement from the routing
> table. and as the network has no other unique
> network to reference + there has been no traffic
> passed through the wlan0 interface there is no
> route for the packets to go to. No "backup route"
> is evident.
>
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 05, 2014 07:06PM |
Registered: 14 years ago Posts: 408 |
sleep 5 if ifconfig wlan0 | grep "inet addr:" ; then ifconfig eth0 down route add default gw 192.168.2.1 fiIt may not be the proper way to program but it seems serving my purpose fine. I don't know why but I can still access my eth0 ip even the cable is not connected.
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 06, 2014 03:30AM |
Registered: 10 years ago Posts: 1,037 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 06, 2014 11:24AM |
Registered: 14 years ago Posts: 408 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 11, 2014 01:29PM |
Registered: 14 years ago Posts: 408 |
make ARCH=armv5tel CROSS_COMPILE= -C /lib/modules/3.14.0-kirkwood-tld-1/build M=/usr/src/RTL8192EU_linux_v4.3.1.1_11320.20140505/driver/rtl8192EU_linux_v4.3.1.1_11320.20140505 modules make[1]: Entering directory `/lib/modules/3.14.0-kirkwood-tld-1/build' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/lib/modules/3.14.0-kirkwood-tld-1/build' make: *** [modules] Error 2There's nothing in the 'build' directory. Do you know what I should do to fix?
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 11, 2014 03:50PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 11, 2014 04:59PM |
Registered: 14 years ago Posts: 408 |
make: *** /lib/modules/3.14.0-kirkwood-tld-1/build: No such file or directory. Stop. make: *** [modules] Error 2I then added this sub-directory and that still didn't work.
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 11, 2014 06:54PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 12, 2014 06:31PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: Strange behaviors of Wheezy/Pogo Mobile with wifi dongle October 12, 2014 08:56PM |
Registered: 14 years ago Posts: 408 |