FON

From Arnout Engelen

Jump to: navigation, search

cnacodarou Interesting: get a wireless accesspoint ('Fonera') for cheap if you agree to share it with other sharers.

The following information is for the 'Fonera' (little white device with 1 ethernet port), not the 'Fonera+'

Contents

[edit] Accessing the device over TCP/IP over the wire

  • ifconfig eth1 add 169.254.255.2
  • ping 169.254.255.1

[edit] on-device info:

ath1 Link encap:Ethernet HWaddr 00:18:84:13:EB:8E

         inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
         RX packets:4040 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2856 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0 
         RX bytes:286285 (279.5 KiB)  TX bytes:988837 (965.6 KiB)

eth0 Link encap:Ethernet HWaddr 00:18:84:13:EB:8C

         UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
         RX packets:19355 errors:0 dropped:0 overruns:0 frame:0
         TX packets:159521 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:3017662 (2.8 MiB)  TX bytes:89468636 (85.3 MiB)
         Interrupt:4 Base address:0x1000 

eth0:1 Link encap:Ethernet HWaddr 00:18:84:13:EB:8C

         inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
         UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
         Interrupt:4 Base address:0x1000 

lo Link encap:Local Loopback

         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:18 errors:0 dropped:0 overruns:0 frame:0
         TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0 
         RX bytes:10368 (10.1 KiB)  TX bytes:10368 (10.1 KiB)

wifi0 Link encap:Ethernet HWaddr 00:18:84:13:EB:8D

         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:24372925 errors:0 dropped:0 overruns:0 frame:1380749
         TX packets:91540 errors:5220 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:199 
         RX bytes:3062940458 (2.8 GiB)  TX bytes:16452371 (15.6 MiB)
         Interrupt:3 Memory:b0000000-b00ffffc

[edit] Troubleshooting

Routing:

Kernel IP routing table:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.3.0      *               255.255.255.0   U     0      0        0 eth0
192.168.10.0    *               255.255.255.0   U     0      0        0 ath1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         172.16.3.1      0.0.0.0         UG    0      0        0 eth0

(I added the last line manually with 'route add default gw 172.16.3.1')

[edit] MySpace but not FON_AP

Usually means the FON cannot get an IP for the upstream internet connection (or that it overheated).

In my case, it gets its IP with dhcp:

host tigre {                          
 hardware ethernet <ethernet-address>;                                                                            
 fixed-address 172.16.3.8;                                                                                             
 option routers mintzer;                                                                                                  
 option subnet-mask 255.255.255.0;                                                                           
}   

the ethernet address of the device is printed on the back of the device.

Personal tools