Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Can't Connect CentOS5 Wireless

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-28-2009   #1 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 11
Can't Connect CentOS5 Wireless

I have just done a clean install of CentOS5 on an old PC desktop I had. It's got a Dynex Enhanced Wireless G Desktop Card in it which I believe the system is recognizing as eth1, but I just don't see where to enter my SSID or WEP key to connect. I have gone through the Admin->Network menu's a few different times, tried restarting the machine and making changes to things but still nothing.

I'm a complete newbie to Linux, so any help would be greatly appreciated
Ascendancy is offline  


Reply With Quote
Old 07-28-2009   #2 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,198
It's possible CentOS doesn't come with a graphical wireless tool, being a server and enterprise oriented distro. (By the way, unless you have a pressing reason to use it, I really recommend using a more desktop oriented distro as a beginner, such as Ubuntu or Fedora.)

Anyway, I would install WICD to handle your connections.

You can also set it up via the command line. (CentOS may not use "sudo", in which case you would login to root with su -, and it may not use dhclient, but dhcpd instead.
reed9 is offline   Reply With Quote
Old 07-28-2009   #3 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
Quote:
Originally Posted by Ascendancy View Post
I have just done a clean install of CentOS5 on an old PC desktop I had. It's got a Dynex Enhanced Wireless G Desktop Card in it which I believe the system is recognizing as eth1, but I just don't see where to enter my SSID or WEP key to connect. I have gone through the Admin->Network menu's a few different times, tried restarting the machine and making changes to things but still nothing.

I'm a complete newbie to Linux, so any help would be greatly appreciated
When I was using CentOS I can remember having similar issues with wireless devices seen as wired, thus giving no option to configure from the network configuration utility. If CentOS is "seeing" the card, perhaps you can get it configured from the command line. Normally wireless cards are "seen" as wlan0 but if you have no Ethernet card, that might explain why your wireless is being seen as eth0. Open a terminal and do:
Code:
su -
Press enter and input password. As "su" do these commands and please post the results of the first two if you can...
Code:
/sbin/ifconfig eth0
Code:
/sbin/iwconfig
and:
Code:
/sbin/iwlist eth0 scan
No need to post the results of the last one but let us know if eth0 is detecting access points. If it finds none, do:
Code:
/sbin/lsmod
and tell me if you see a module in there that begins with "bcm."
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here

Last edited by Dapper Dan; 07-28-2009 at 11:39 PM..
Dapper Dan is offline   Reply With Quote
Old 07-28-2009   #4 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
Quote:
Originally Posted by reed9 View Post
(By the way, unless you have a pressing reason to use it, I really recommend using a more desktop oriented distro as a beginner, such as Ubuntu or Fedora.)
I agree. As a new user CentOS can be a pretty tough distro.
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 07-29-2009   #5 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 11
Yeah I have Ubuntu running on my laptop, I am just interested in working on a server distro as well because they're both 2 different environments. Here's my results from the terminal:

Code:
[root@localhost ~]# su -
[root@localhost ~]# /sbin/ifconfig etho0
etho0: error fetching interface information: Device not found
[root@localhost ~]# /sbin/ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:22:75:1A:4D:17  
          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)
          Interrupt:11 Base address:0x4000 

[root@localhost ~]# /sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11b/g  ESSID:""  Nickname:"localhost.localdomain"
          Mode:Master  Frequency=2.412 GHz  Access Point: Invalid   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

[root@localhost ~]# /sbin/iwlist eth0 scan
eth0      Interface doesn't support scanning.
I tried the last piece of code you put in, but no module was shown with "bcm". I don't fully understand a lot of this, but it seems like it's not even recognizing a wireless device?
Ascendancy is offline   Reply With Quote
Old 07-29-2009   #6 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,198
bcm would indicate it's a broadcom chipset, which historically has been very troublesome under linux. Broadcom released a linux driver for many of their cards, which some distros have started to include, (though it isn't open source, so many will not). bcm would also indicate it's the old deprecated open source driver, the new one being b43, but CentOS uses an old kernel and may still have the bcm43xx drivers.

Can you post the output of /sbin/lspci and /sbin/lsmod?
reed9 is offline   Reply With Quote
Old 07-29-2009   #7 (permalink)
Super Moderator
 
Dapper Dan's Avatar
 
Join Date: Oct 2004
Location: The Sovereign State of South Carolina
Posts: 4,136
Send a message via AIM to Dapper Dan
The command was for eth0 instead of etho0 but no matter... it appears CentOS is finding your wireless device as eth1. Do:
Code:
/sbin/iwlist eth1 scan
If you see access points then you might be able to get it going with:
Code:
/sbin/iwconfig eth1 essid name_of_access_point_you_want_to_connect_to
Then:
Code:
/sbin/dhclient eth1
If no errors...
Code:
/sbin/ifconfig eth1 up
__________________
CRUX 2.5 + IceWM Registered:#371367 New Members: click here
Dapper Dan is offline   Reply With Quote
Old 07-29-2009   #8 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 11
Well I got something called the NetworkManager up and running in the top right corner of the screen, tried adding my network name and WEP key but my signal strength is 0. I used to have XP installed on this with the same wireless card and it picked up the signal 75-100% strength, so I know it can't be that I'm too far away from the access point.

After running

Code:
/sbin/iwlist eth1 scan
I get the following output:

Code:
eth1          Interface doesn't support scaning : No such device
I tried your second suggestion of trying to manually add it and start it, but the terminal kept looping with something about send_packet: Network is down (I'd copy the whole thing to you, but I don't really have a way to get it off my desktop as it can't get online )

So I think it's working because my NetworkManager is running and I have the "use Wireless" box checked, it's just not picking up a wireless signal for some reason?

EDIT:
I don't know if this helps at all but I'm currently posting this from the exact same room as my desktop on my laptop running Ubuntu, so I'm sure the wireless signal can be reached from here.
Ascendancy is offline   Reply With Quote
Old 07-29-2009   #9 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,198
I think we should start from the beginning and determine the exact chipset of the card, that the correct driver is being used, etc.

Read the Wireless Setup page and post all the requested info, please.
reed9 is offline   Reply With Quote
Old 07-29-2009   #10 (permalink)
Just Joined!
 
Join Date: Oct 2008
Posts: 11
Ran through the BASH script, here's the results:

Code:
============== lspci ============
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:04.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
01:05.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)

============== lsusb ============
Bus 001 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  

============== lsmod ============
Module                  Size  Used by
i915                   23745  2 
drm                    65493  3 i915
autofs4                24517  2 
hidp                   23105  2 
rfcomm                 42457  0 
l2cap                  29505  10 hidp,rfcomm
bluetooth              53797  5 hidp,rfcomm,l2cap
sunrpc                144893  1 
ip_conntrack_ftp       11697  0 
ip_conntrack_netbios_ns     6977  0 
ipt_REJECT              9537  1 
xt_state                6209  11 
ip_conntrack           53025  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_state
nfnetlink              10713  1 ip_conntrack
iptable_filter          7105  1 
ip_tables              17029  1 iptable_filter
ip6t_REJECT             9409  1 
xt_tcpudp               7105  28 
ip6table_filter         6849  1 
ip6_tables             18053  1 ip6table_filter
x_tables               17349  6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
dm_multipath           22089  0 
video                  21193  0 
sbs                    18533  0 
backlight              10049  1 video
i2c_ec                  9025  1 sbs
button                 10705  0 
battery                13637  0 
asus_acpi              19289  0 
ac                      9157  0 
ipv6                  258273  15 ip6t_REJECT
xfrm_nalgo             13765  1 ipv6
crypto_api             11969  1 xfrm_nalgo
lp                     15849  0 
floppy                 57125  0 
snd_intel8x0           35421  1 
snd_ac97_codec         93025  1 snd_intel8x0
ac97_bus                6337  1 snd_ac97_codec
snd_seq_dummy           7877  0 
snd_seq_oss            32577  0 
snd_seq_midi_event     11073  1 snd_seq_oss
snd_seq                49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         11725  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42945  0 
snd_mixer_oss          19009  1 snd_pcm_oss
snd_pcm                72005  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              24517  2 snd_seq,snd_pcm
bcm43xx               415713  0 
snd                    52421  11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
i2c_i810                9285  0 
ide_cd                 40033  0 
i2c_algo_bit           12489  1 i2c_i810
ieee80211softmac       33473  1 bcm43xx
cdrom                  36705  1 ide_cd
soundcore              11553  1 snd
parport_pc             29157  1 
i2c_i801               11597  0 
b44                    29005  0 
ieee80211              33289  2 bcm43xx,ieee80211softmac
snd_page_alloc         14281  2 snd_intel8x0,snd_pcm
parport                37513  2 lp,parport_pc
i2c_core               23745  3 i2c_ec,i2c_algo_bit,i2c_i801
serio_raw              10693  0 
pcspkr                  7105  0 
mii                     9409  1 b44
ieee80211_crypt        10049  1 ieee80211
dm_snapshot            21477  0 
dm_zero                 6209  0 
dm_mirror              29125  0 
dm_mod                 61405  9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ata_piix               22341  0 
libata                143997  1 ata_piix
sd_mod                 24897  0 
scsi_mod              134605  2 libata,sd_mod
ext3                  123593  2 
jbd                    56553  1 ext3
uhci_hcd               25421  0 
ohci_hcd               23261  0 
ehci_hcd               33357  0 

============== dmesg-firmware ===========

============== kernel version ===========
2.6.18-92.el5
Ascendancy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2