D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian and home hubs.

 


--- On Wed, 13/1/10, Simon Waters <simon@xxxxxxxxxxxxxx> wrote:

> From: Simon Waters <simon@xxxxxxxxxxxxxx>
> Subject: Re: [LUG] Debian and home hubs.
> To: list@xxxxxxxxxxxxx
> Date: Wednesday, 13 January, 2010, 1:18
> JOHN DAVEY wrote:
> >
> >> Be useful if you could do some basic checks before
> and
> >> after it connects, to see if it is getting an IP
> address
> >> ("ip addr list" or
> >> "/sbin/ifconfig" at a shell), setting DNS servers
> ("cat
> >> /etc/resolv.conf"), or changing routing ("netstat
> -nr").
> > OK, I did that and got;
> > ubuntu:/home/jondavey# /sbin/ifconfig
> > eth0      Link encap:Ethernet 
> HWaddr 00:a0:d1:6b:b0:80  
> >           inet
> addr:192.168.1.65  Bcast:192.168.1.255 
> Mask:255.255.255.0
> >           inet6
> addr: fe80::2a0:d1ff:fe6b:b080/64 Scope:Link
> >           UP
> BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX
> packets:18746 errors:0 dropped:0 overruns:0 frame:0
> >           TX
> packets:17439 errors:0 dropped:0 overruns:0 carrier:0
> >       
>    collisions:0 txqueuelen:1000 
> >           RX
> bytes:18768103 (17.8 MiB)  TX bytes:2681902 (2.5 MiB)
> 
> This suggests the laptop is called "ubuntu" but it is
> running Lenny no?
> Curious naming convention.
I'm not sure why it was named that. I have re-named it now...
> 
> eth0 has an IP address consistent with default on Home Hub
> - does this
> mean it is/was plugged into the network with a cable?
Yes...
> 
> > wlan0     Link
> encap:Ethernet  HWaddr 00:16:e3:d0:d9:34  
> >           UP
> 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)
> > 
> > wmaster0  Link encap:UNSPEC  HWaddr
> 00-16-E3-D0-D9-34-65-74-00-00-00-00-00-00-00-00  
> >           UP
> BROADCAST RUNNING 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)
> 
> > ubuntu:/home/jondavey# netstat -nr
> > Kernel IP routing table
> > Destination     Gateway 
>        Genmask     
>    Flags   MSS Window 
> irtt Iface
> > 192.168.1.0     0.0.0.0 
>    
>    255.255.255.0   U 
>        0 0     
>     0 eth0
> > 0.0.0.0     
>    192.168.1.254   0.0.0.0 
>        UG     
>   0 0          0 eth0
> 
> This looked right except it is "eth0" the wired not the
> wireless that is
> connected to the Home hub.
> 
> Are you connecting wirelessly, and with a wire at the same
> time, as that
> will confuse the logic of networking....
I was connecting with the wire to get the firmware and post here then removing it to 
test if the wireless connection was working...
> 
> > This is how it looks after I installed the firmware;
> > ubuntu:/home/jondavey# ip addr list
> > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc
> noqueue state UNKNOWN 
> >     link/loopback
> 00:00:00:00:00:00 brd 00:00:00:00:00:00
> >     inet 127.0.0.1/8 scope host
> lo
> >     inet6 ::1/128 scope host 
> >        valid_lft forever
> preferred_lft forever
> > 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu
> 1500 qdisc pfifo_fast state UP qlen 1000
> >     link/ether 00:a0:d1:6b:b0:80
> brd ff:ff:ff:ff:ff:ff
> >     inet 192.168.1.65/24 brd
> 192.168.1.255 scope global eth0
> >     inet6
> fe80::2a0:d1ff:fe6b:b080/64 scope link 
> >        valid_lft forever
> preferred_lft forever
> > 3: wmaster0: <BROADCAST,MULTICAST,UP,LOWER_UP>
> mtu 1500 qdisc ieee80211 state UNKNOWN qlen 1000
> >     link/ieee802.11
> 00:16:e3:d0:d9:34 brd ff:ff:ff:ff:ff:ff
> > 4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP>
> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
> >     link/ether 00:16:e3:d0:d9:34
> brd ff:ff:ff:ff:ff:ff
> > ubuntu:/home/jondavey# 
> 


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html