little more information: when on the fonera I do `udhcpc -i eth1`, this is the output: >>> udhcpc (v1.11.1) started Sending discover... Sending select for 192.168.1.100... Lease of 192.168.1.100 obtained, lease time 86400 uci: Entry not found adding router 192.168.1.1 deleting old routes adding dns 192.168.1.1 adding dns 192.168.1.1 <<<
I read it says routes have been set up, so I check: >>> root@Fonera:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.8.0 * 255.255.255.0 U 0 0 0 br-lan 169.254.0.0 * 255.255.0.0 U 0 0 0 br-lan default hi.link 0.0.0.0 UG 0 0 0 eth1 <<< looks fine to me. but then, from the laptop connected via wifi to the fonera: >>> mario@rune:~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default registerlafoner 0.0.0.0 UG 0 0 0 wlan0 192.168.8.0 * 255.255.255.0 U 9 0 0 wlan0 mario@rune:~$ ping 192.168.8.1 PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data. 64 bytes from 192.168.8.1: icmp_seq=1 ttl=64 time=6.21 ms 64 bytes from 192.168.8.1: icmp_seq=2 ttl=64 time=1.88 ms ^C mario@rune:~$ ping google.com PING google.com (173.194.37.33) 56(84) bytes of data. From registerlafonera.fon.com (192.168.8.1) icmp_seq=1 Destination Port Unreachable From registerlafonera.fon.com (192.168.8.1) icmp_seq=2 Destination Port Unreachable From registerlafonera.fon.com (192.168.8.1) icmp_seq=3 Destination Port Unreachable ^C <<< On 02/09/2014 02:41 PM, Mario Frasca wrote: > as the previous time, I forgot the option '-a' to ifconfig! > > `ifconfig -a` does list the new device as eth1, I can run `udhcpc -i > eth1` and the fonera does receive an IP address from the modem and it > can wget stuff from the modem settings-web-site and from the rest of the > internet as well (tried `wget http://google.com`). > > I still need enable routing: my laptop connected to the private wifi > signal while the fonera is connected to the modem does not have access > to the outside world yet. can I enable it without editing settings > regarding eth0? > > all the scripts I would run to start using my modem, where can I save > them on the fonera? the /tmp HOME is a bit volatile! > > what can we do to make it work a bit more automatically? > > M > > On 02/09/2014 11:23 AM, Mario Frasca wrote: >> good day developers! >> >> I'm back trying to use a hauwei e303 modem on a fonera 2.0n >> >> what I have now: >> - the modules from download.fonosfera.org (usbnet + cdc_ether) >> - installed them with option -force-depends >> - made sure neither of them is in use >> - insmod usbnet >> - insmod cdc_ether >> - copied this text >>># Huawei E353 (3.se) >> >> TargetVendor= 0x12d1 >> TargetProduct= 0x14db >> >> MessageContent="55534243123456780000000000000a11062000000000000100000000000000" >> NoDriverLoading=1<<< into /etc/usb_modeswitch.d/12d1:14db >> - started `logread -f` >> - plugged in the modem >> - wait for text >>>device scan complete<<< >> - modeswitched the modem: `usb_modeswitch -v 0x12d1 -p 0x1f01 -c >> /etc/usb_modeswitch.d/12d1\:14db` >> - verified that the device is in cdc_ether mode (`cat >> /proc/bus/usb/devices` informs me that the driver is in use). >> >> but now what? >> >> I do not think the network device associated to the modem has been >> generated. if I connect the modem to my laptop, I recognize it as the >> device with a line containing the text >>>HWaddr 58:2c:80:13:<<<, while >> there is no such thing in the output of `ifconfig` on the fonera. >> >> what can I do to help you help me? >> >> thanks, >> MF >> > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Development mailing list [email protected] http://fonosfera.org/mailman/listinfo/development
