D&C GLug - Home Page

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

Re: [LUG] Debian and home hubs.

 

> JOHN DAVEY wrote:
> > Hi, I have Debian 'Lenny' on my Toshiba lappy which 
> > is equiped with a wireless....thingy. How do I 
> > connect wirelessly to my BT home hub? It
> > doesn't seem to want to do it..... 
> >     Well Home Hub v2 supports
> Wifi: 802.11b / 802.11g / 802.11n (Supports
> >     WEP, WPA-PSK/WPA2-PSK)
> 
> Quoting messed up -- stop it with that HTML email
> please...
sorry. It's webmail. I didn't know I could do plain text with it.
> >     Now what kind of Toshiba laptop? Built-in or
> > added wireless card?
It's a Satelite Pro A100 with built in wireless capability...
> Okay I see divergent comments about wireless card in this
> laptop.
> These folk posted the output of lspci, so we'll trust them
> unless the
> output of "lspci" looks different on your laptop.
...It's the same.
> http://lkcl.net/reports/toshiba.satellitepro.a100/lspci
> ...SNIP...
> 05:00.0 Network controller: Intel Corporation PRO/Wireless
> 3945ABG
> Network Connection (rev 02)
> ...SNIP...
> So probably you need this advice here:
> http://wiki.debian.org/iwlwifi
> 
> But read to the end first before fiddling (we all have that
> habit...).
> 
> >     What is the highest protocol in common?
I'm not sure what you mean?...
> I'm sorry I should have been more clear. I meant which
> 802.11 family
> they share with the best performance.
> From
> http://download.intel.com/network/connectivity/resources/doc_library/tech_brief/31079601.pdf
> 
> Looks like 802.11g at 54Mbps is the best you can expect -
> but that is a lot better than my set-up here.
> 
> >     Is the connection encrypted?
BT have given me a 'Wireless Network Name' and a 10 digit 'Wireless key'
> I can't find the BT default, but if you log into your Home
> Hub with looks like it offers a radio button selection between:
> 
> Disable, WEP, WPA-PSK and WPA.
> 
> I'd try disabling encryption first, since that is simplest,
> and then when it works enable the same encryption settings both > ends with your 
> own choice of passphrase. And change any default > passwords just in case BT had a 
> bad day!
> 
> I'm guessing you ultimately want WPA-PSK at both ends
> (assuming the both make it easy to choose) since that is 
> more secure than WEP and simpler than WPA.
> 
> >     What have you tried?
Nothing complicated, I have tried to input the name and key
of the connection into 'Network Tools'.
> >     How does it fail?
The connection gets added to my list of available wireless
connections, I am told that I am connected to the wireless
connection. But on opening a browser I can see that it ISN'T
actually connected...
> 
> What do you see?
> [Do this bit below before fiddling with the wiki stuff
> above, then install the stuff from the wiki above and 
> try again.]
> 
> 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)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6160 (6.0 KiB)  TX bytes:6160 (6.0 KiB)

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#
and
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
ubuntu:/home/jondavey#
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# 

I'm sorry if I'm still being vauge and not asking 
properly Simon and sorry for the HTML
emails. I did read that whole article. I really
am not sure where I'm going wrong. I suppose I was
being lazy as I was sending the message from
a netbook upstairs and the laptop with the
problem was downstairs. I guess I really should have
made a note of all the details of the problem
before I began asking for help. Again sorry
about that. I'm going to try and see what happens now
I have this firmware installed...
> The folks on the IRC channel can probably tell you 
> what to do (well I'm sure Neil and
> Ben could, and probably lots of others....).
> 
> Hopefully the GUI can show you all that, the commands are
> easier to
> stick in a file and email.
> 
> If it is a vanilla Debian install it is probably just
> missing the
> firmware as per Wiki entry above. But I don't have this
> wireless card so
> can't double check that.
> 
> If it makes you feel better my neighbour with Windows has a
> very similar
> issue at the moment, we will eventually hit on a time
> convenient for
> both of us to sort it out. But those Lenny users come
> first.
...I had no problems getting my stepdaughters net-book
to connect to it. She has XP on that. THat was very
straight foward as long as you have the full name of 
the network and the key that is on the back of the hub
or on the card they send you...
Thanks for the help. I'll see if what happens now.
Cheers, JOn DAvey.

-- 
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