LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-04-2009, 04:56 PM   #1
vgg
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Another newbie cant access the internet


I hope someone can help me with this. I know I'm close but am missing
something. I'm having problems accessing the internet via my wifi
router at home. I have a gateway 3023gb laptop which originally shipped
with windowsXP but I've repartitioned the hard drive to allow me to use
it as a dual-boot with RHEL4.

I think I'm ok as far as drivers/firmware is concerned as I installed the
ipw2200 drivers etc from the extras disk during the installation.

After I press Fn2 to bring up the wireless radio I type
'ifconfig eth1 up' and then I typed 'iwlist scanning'
to see if I could pick up my router at all. This was the output:


------------------------------------------
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

eth1 Scan completed :
Cell 01 - Address: 00:18:F6:97:9F:E1
ESSID:"BTHomeHub-58B2"
Protocol:IEEE 802.11g
Mode:Master
Channel:1
Encryption key: on
Bit Rate:54Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Extra: RSSI: -56 dBm
Extra: Last beacon: 28ms ago
Cell 02 - Address: 00:19:7D:CC:AC:BC
ESSID:"PS3-5632169"
Protocol:IEEE 802.11g
Mode:Master
Channel:11
Encryption key: on
...... a few more cells listed but the first one is
my home router
------------------------------------------

so I then entered 'iwconfig eth1 essid "BTHomeHub-58B2" key KEY'


and when I bring up the KWifiManager it says I'm connected to my router, with
a good signal strength and connection speed of 54MBit/s, it identifies the
Access point but doesn't provide the local IP.

And when I try the following command: 'dhclient eth1'


I get this output:

------------------------------------------


Listening on LPF/eth1/00:12:f0:06:8e:e7
Sending on LPF/eth1/00:12:f0:06:8e:e7
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

------------------------------------------

What am I missing?
Any help would be greatly appreciated.

Vito
 
Old 02-05-2009, 10:55 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Seems to me the router isn't setup to do dhcp.
 
Old 02-05-2009, 11:40 AM   #3
vgg
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Seems to me the router isn't setup to do dhcp.

Thanks Repo.
forgive my ignorance but just checking - that means that the ip address is static right?

I've just logged into the router (BTHomeHub) within windows and was able to extract the following info

LAN ranges from 192.168.1.64-237 the gateway is on 192.168.1.254/24

and also it has a mask of 24.

So do I setup the ip in the ifcfg-eth1 as IP=192.168.1.67 (or whatever it is) and the MASK=0.0.0.24

would that be correct?

also I found a primary and secondary dns ips - where do I put these?

Thanks

Vito
 
Old 02-05-2009, 12:04 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Do you recieve an ip in windows?

Quote:
So do I setup the ip in the ifcfg-eth1 as IP=192.168.1.67 (or whatever it is) and the MASK=0.0.0.24
MASK= 255.255.255.0

then you need to add the default gw
route add default gw 192.168.1.254

DNS goes into /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx
 
Old 02-05-2009, 12:19 PM   #5
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
You've set up correct security keys on your Linux machine? The best approach is to temporarily turn off security on your router and see if you can connect. If so, then you can focus on the security settings. If the router has wpa security, you'll need wpasupplicant.

The kwifimanager never worked for me. You might try installing wicd. But I generally just do configuration in the text configuration files for wireless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] (newbie) Cannot access Internet: Slackware 12, Ethernet: Realtek ShellyCat Linux - Networking 12 09-30-2007 08:48 AM
WIFI WLAN / Cannot access internet but can access the router configuration page?SUSE thomas939 Linux - Wireless Networking 12 12-13-2005 10:28 AM
Newbie FC2 Internet Access Problem ivery Fedora 8 06-07-2004 05:54 PM
Linux internet access (Stupid newbie question) Phr33za Linux - Newbie 11 04-01-2002 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration