LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-03-2007, 01:20 AM   #1
MrWasabi
LQ Newbie
 
Registered: Jun 2007
Distribution: Fedora Core 6
Posts: 3

Rep: Reputation: 0
Cant connect to a wireless router


Hi All,
i have been browsing this forum, along with other linux forums for many hours looking for a way to connect to my wireless router from my pc.

here are my details

PC: Laptop HP dv9007tx with ipw3945 wireless
Router: D-link DI-624
OS: Fedora Core 6
Kernel: 2.6.20-1.2952.fc6

Wireless settins on the router
Code:
Extended Range Mode : Disabled
WMM Function(Wireless Qos):Disabled
802.11g Only Mode : Enabled 
SSID Broadcast : Disabled
Channel: Auto
SSID: Wasabi Network
Internal IP: 192.168.0.X (DHCP set on router between 100 and 199)
Subnetmask: 255.255.255.0
Security: None
I have installed the drivers needed through yum and i can see the wireless connection available in my network manager.

So i have 2 options wired and wireless. Currently im running on wired to make this post.
I have played with my ifcfg-eth1 file and god know so many other things for the last few days and i still cant get my wireless to connect.

Previously i had WEP running, and a dialog box kept popping back up asking me to enter my WEP key.
I have disabled security on my router for troubleshooting purposes since then, and now the network manager just keeps trying to connect but to no avail.

if i do an ifup eth1 this is what i get
Code:
Determining IP information for eth1... failed; no link present.  Check cable?
when i do iwconfig eth1 this is what i get
Code:
eth1      unassociated  ESSID:"Wasabi Network"  Nickname:"localhost.localdomain"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   
          Retry limit:15   RTS thr:off   Fragment thr:off
          Encryption key:5631-6374-3052-4941-3132-3334-35   Security mode:open
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:67  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3868   Missed beacon:0
ive noticed that it is unassociated and there is no AP set. i have no clue how to fix this, and i am thinking that this could be the cause of my problems.

I have posted in other forums but to date i have not had anyone who has been able to help.

Again i have been at this problem for several days, and i have done a lot of searching online but i cannot find an answer.

any help will be very welcome!
 
Old 06-03-2007, 07:59 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Please check the output from: iwlist eth1 scan

Then using this info configure the /etc/sysconfig/network-scripts/ifcfg-eth1 file, example below;

TYPE=Wireless
DEVICE=eth1
HWADDR=
BOOTPROTO=dhcp
IPADDR=
NETMASK=255.255.255.0
GATEWAY=<router's IP address here>
DHCP_HOSTNAME=
DOMAIN=
ONBOOT=yes
ONHOTPLUG=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=no
ESSID=
CHANNEL=<the channel number from the output of the iwlist command here>
MODE=
RATE=

You may want to check/edit/create the /etc/sysconfig/network-scripts/keys-eth1 file also, because it seems that you may have WEP encryption in use. The file should look something like;

KEY=56316374305249413132333435

Then restart the network service as root: service network restart
 
Old 06-03-2007, 09:54 AM   #3
MrWasabi
LQ Newbie
 
Registered: Jun 2007
Distribution: Fedora Core 6
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Please check the output from: iwlist eth1 scan

Then using this info configure the /etc/sysconfig/network-scripts/ifcfg-eth1 file, example below;

TYPE=Wireless
DEVICE=eth1
HWADDR=
BOOTPROTO=dhcp
IPADDR=
NETMASK=255.255.255.0
GATEWAY=<router's IP address here>
DHCP_HOSTNAME=
DOMAIN=
ONBOOT=yes
ONHOTPLUG=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=no
ESSID=
CHANNEL=<the channel number from the output of the iwlist command here>
MODE=
RATE=

You may want to check/edit/create the /etc/sysconfig/network-scripts/keys-eth1 file also, because it seems that you may have WEP encryption in use. The file should look something like;

KEY=56316374305249413132333435

Then restart the network service as root: service network restart
Excellent! thanks for your help! that atleast got me connected but now there are other problems.

1. The only way i can connect is by clicking on Deactivate, to stop the dhclient, and then activate in the Network menu (System -> Administration -> network). If i try and use the network manager, it just keeps attempting to connect and it will time out.
2. eth1 is attempted to be brought up before ipw3945 is loaded. This causes a fail in the startup. Is there a way to change that?
3. kind of linked with point 1, but i have to manually connect on bootup. is there a way to have it done automatically?

again thanks very much for your help, im glad its working but i would like to fine tune it a bit further.
 
  


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
cannot connect to wireless router chhatrashal Linux - Wireless Networking 2 01-26-2007 07:03 AM
can't connect to wireless router mikescony Linux - Newbie 15 10-20-2006 02:42 PM
HELP Me Connect to my Wireless Router pxumsgdxpcvjm Linux - Hardware 1 04-12-2006 09:27 AM
Connect to a wireless router Gioutsaman Linux - Wireless Networking 0 05-28-2005 03:57 PM
Can't Connect to wireless router shaggy007 Linux - Wireless Networking 7 04-23-2004 01:28 AM

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

All times are GMT -5. The time now is 04:09 PM.

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