LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 02-27-2005, 12:09 PM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Rep: Reputation: 30
Gentoo Newbie needs help setting up USB wireless...


I have been using Fedora Core for a couple of years now and, having treated myself to a whopping 200Gb hard-drive, have decided to continue my Linux exploration by installing Gentoo. I think I am really going to enjoy Gentoo - but I've still got a long way to go...

I have managed to do a complete Stage1 install from a live CD and can now boot into my newly compiled 2.6 kernel. I now need to get the internet working.

I have a Belkin F5d6050u USB network adapter which uses the Atmel chipset. Under Fedora I have this working using the at76c503-rfmd driver which I have also installed in my Gentoo partition. I did not have "wireless-tools" in my portage so I downloaded it (using my Fedora distro) and emerged it.

If I try to do any iwconfig wlan0 stuff I get a "no such device - wlan0" error.

I have looked at the configuration guide and the handbook but am not sure that I have understood them correctly.
When I start the system I get this error:
Code:
* Bring up lo...            [0k]
* Starting syslog-ng...
* You should stop using /etc/dnsdomainname and use /etc/conf.d/domainname
* Setting DNS domainname to homenetwork...
* Starting eth0
eth0 : error fetching interface information : Device not found
eth0 : error fetching interface information : Device not found
*    Bringing up eth0
*       Configuration not set for eth0 - assigning dhcp
*       dhcp
*          eth0 does not exist
* ERROR : Problem starting needed services   [!!]
*       "netmount" was not started
I should point out that the diver for the Atmel is compiled as a module but it does not seem to load at startup (I'm not sure how to do this). If I do a "dmesg | grep at76c" immediately after boot I get nothing.
"modprobe at76c503-rfmd" gets it up and running but "iwcofig" or "ifconfig wlan0 up" all produce errors saying "no such device - wllan0"

My /etc/init.d/net.eth0 is symliked to /etc/init.d/net.lo as described in the HOWTO.

This is the (abridged) contents of my /etc/conf.d/wireless file (my ESSID is called "Wireless")
Code:
essid_wlan0="any"
mode_wlan0="managed"
channel_wlan0="6"
key_Wireless="1234-ABCD-5678-DEFA-9012-BCDE-23 enc open"
my /etc/conf.d/net file just has this in it
Code:
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_Wireless=( "dhcp" )
I know that something (several things) is not right with this set-up, but can anyone point me in the right direction towards fixit it (them)?

Many thanks
 
Old 02-27-2005, 01:57 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
What does your lspci say when you have the module loaded.

Can you do a stage 1 install from gentoo without working internet?
 
Old 02-27-2005, 03:00 PM   #3
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Original Poster
Rep: Reputation: 30
Quote:
What does your lspci say when you have the module loaded.
Hmmm... That's interesting. I get:
Code:
# lspci
-bash : command not found
lspci from within Fedora gives me:
Code:
[root@localhost mark]# /sbin/lspci
00:00.0 Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
[root@localhost mark]#
Quote:
Can you do a stage 1 install from gentoo without working internet?
Yes. I installed Gentoo from a Live CD (actually from 2 CDs which were cover discs from "Linux Format", a UK based Linux magazine). You run through the whole Stage 1 procedure,copying the files from the CD(s) into the /distfiles directory. Once I had a working (without Internet) distribution, I booted into Fedora Core (which has a working Internet connection) and from there "chrooted" into my Gentoo partition. Even having done "source /etc/profile && env-update" the Fedora Internet connectivity is still active (don't ask me how - this is going way beyond my level of understanding...) So I was then able to "emerge-sync" and "emerge -uD world" to bring the system up to scratch. (Although apparently without the "lspci" command!)

BUT - Still no Internet from within Gentoo.

Any idea what I need to do to get it working?

Thanks

Mark

Last edited by ArthurDent; 02-27-2005 at 03:21 PM.
 
Old 02-28-2005, 10:06 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Hmm, sorry missed the point that you're using a USB connector. Does "lsusb" list your card?

Must be an error for me then in the gentoo install cause it would work till emerge world. While doing that the status indicator blocked and it didn't do anything anymore.
 
Old 03-02-2005, 12:39 PM   #5
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Original Poster
Rep: Reputation: 30
Well that's interesting (as well)....

In Gentoo I get
Code:
# lsusb
-bash : command not found
Just like I do with lspci. It looks like my Gentoo install hasn't gone quite as well as I thought (or have I just not "emerged" something I should have done?).

I really would like to get this wireless Internet sorted out so that I can move on to some more interesting stuff on Gentoo (I havn't even emerged kde or gnome yet).

Hoping you can help....

Thanks

Mark
 
Old 03-02-2005, 03:52 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I don't know do the lights go on on your card? Further you migth want to check normal "iwconfig" if it's not on another interface.
 
Old 03-02-2005, 04:17 PM   #7
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Fedora Core 5, Mandrake 10.0, Gentoo, Suse
Posts: 174

Original Poster
Rep: Reputation: 30
Well unfortunately the device does not have any "activity" lights - just one amber LED which indicates that it is plugged in.

"iwconfig" gives me "no such device - wllan0" error (see post #1).

I think I need to break the problem down...

1) How do I ensure that the at76c503-rfmd module loads at startup? Do I have to put an entry in rc.conf? If so what format should it be - would it be as simple as putting "modprobe at76c503-rfmd" into rc.conf? (I know this is a bit lame but the docs are not clear on this).

2) What do I need to fix so that Gentoo sees a wlan0 device? Does it have anything to do with the symlink to /etc/init.d/net.eth0? What tells it to read the /etc/conf.d/wireless file?

Any ideas? My reading has only confused me so far...

Thanks

Mark
 
Old 03-03-2005, 02:11 AM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I load my modules in the modprobe.conf file. But I don't know if that's different in gentoo. But whether you load it on boot or manually later I don't think it will matter much in getting your problem fixed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie needs help setting up wireless on mandrake 10.1 KinkInInk Linux - Wireless Networking 13 03-06-2005 12:30 AM
Newbie Wireless USB help astronerd Linux - Wireless Networking 11 02-18-2005 12:33 PM
Newbie to Linux using Lindows OS trying to install wireless usb nic patejl Linux - Wireless Networking 2 02-29-2004 02:13 AM
newbie needs help with USB wireless network connection progma Linux - Newbie 1 10-19-2003 11:20 AM
Totally newbie DWL-120 + USB wireless card Linox Linux - Wireless Networking 1 09-18-2003 03:39 PM


All times are GMT -5. The time now is 12:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration