On Fri, 8 Feb 2013 21:31:27 +0100
Matthijs Kooijman - Fon <[email protected]> wrote:

> Hi Mario,
> 
> [...]
> 
> > what was the next step... to check whether the network device was
> > created...
> 
> Yup, you can run "ifconfig -a" to see if a network interface appeared.

oh, "-a", I was not doing that...

eth1      Link encap:Ethernet  HWaddr 58:2C:80:13:92:63  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

> 
> If so, you should be able to run a DHCP client on the interface
> (udhcpc, probably with some options) to get an address and
> connectivity.

aha, u-c as micro-client... 

root@Fonera:~# udhcpc -i eth1    
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
route: resolving 172.19.3.1;
adding dns 192.168.1.1
adding dns 192.168.1.1

then I tried to reach the modem (192.168.1.1) web-based interface from the PC, 
to no avail.
there isn't a clash on IP addresses: fonera's DHCP serves 192.168.3.x.
the 192.168.1.100 new eth1 address of the fonera is reachable from the PC (but 
I can't authenticate).
my old wired modem has 172.19.3.1 and the fonera's end gets 172.19.3.2.

but no, I'm too sleepy to follow what I'm doing!! :)
maybe I just need remove some iptables rules and write new ones.
udhcpc does not do it automatically, does it?

and anyhow now, without a 3G contract, there's little I can do with a 3G modem!

ciao,
M

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to