You are not logged in.

#1 2012-03-10 20:10:03

ukpaul33
Member
Registered: 2012-03-04
Posts: 4

Wifi

I am pretty new to linux but really want to learn about it properly and this is why I have installed Arch. I have been very encouraged by the initial install of the base system as this has taught me much about editing various config files etc and using commands to do this and that and its very exciting as you feel your kind of communicating with the computer and controling it.

The first thing I wanted to do was have access to the internet, so I assumed that all I had to do was edit the "rc.conf" file and where it says interface=, I just add wlan0 and add new line underneath saying wlan0=dhcp and all would be well. To my surprise I read a message as I was rebooting saying device wlan0 is unknown.

I then typed out the command "lspci | grep -i net" and saw message as follows :
00:03.0 ethernet controller: intel corporation 82540EM Gigabit Ethernet controller (rev02)

Because I saw the word "ethernet" I then decided to to go back into "rc.conf" and change wlan0 to read "eth0" and reboot

I then did the command " ping -c 3 www.google.com " and to my surprise 3 packets of data went back and forth and all was showing that my wireless setup was perfect.

My confusion is how come the eth0 is being used instead of the wlan0 as i am using my wireless connection

Any answers to this would be much appreciated!!

Many thanks

Offline

#2 2012-03-10 20:19:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Wifi

Where have you read that rc.conf supports wireless connections? It doesn't http://www.archlinux.org/news/deprecation-of-net-tools/


Edit: Do you have an ethernet cable plugged in?

Last edited by karol (2012-03-10 20:21:39)

Offline

#3 2012-03-10 20:21:53

quasifilmie
Member
Registered: 2011-10-27
Posts: 296

Re: Wifi

To me, it makes sense that the computer would favour the wired connection (typically faster) over the wireless connection and so that is probably why "etho" is being used instead. When the ethernet is not plugged in or the proper module is not loaded that is when the wireless "wlan0" would be used. And like karol said rc.conf does not support wireless.

Last edited by quasifilmie (2012-03-10 20:22:36)

Offline

#4 2012-03-10 20:42:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Wifi

Everything you need to know to get your wifi running is here.

Offline

#5 2012-03-13 18:34:23

ukpaul33
Member
Registered: 2012-03-04
Posts: 4

Re: Wifi

Hey Guys, I appreciate your replies smile

Please let me assure you I do not have an ethernet cable plugged into my laptop. This is why I am surprised it is working. You mentioned that rc.config does not support Wireless? but in this file one would set their eth0 device to read "dhcp" yes?

This I have done and my wireless is working, I have no cables plugged in at all.

So this is why I am confused !!

Offline

#6 2012-03-13 18:36:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Wifi

Hmmm, interesting

Can you post your rc.conf?

Offline

#7 2012-03-13 18:39:28

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Re: Wifi

Hi Paul smile

rc.conf is just a configuration file. The 'network magic' you're experiencing will be coming from a network daemon listed in the daemons array in rc.conf


Visit my blog and my DeviatArt page

Offline

#8 2012-03-13 19:29:28

marceloasfor
Member
Registered: 2010-05-13
Posts: 14

Re: Wifi

Just install networkmanager. It does everything for you. https://wiki.archlinux.org/index.php/NetworkManager

Offline

#9 2012-03-13 19:56:05

ukpaul33
Member
Registered: 2012-03-04
Posts: 4

Re: Wifi

Hi everyone..... just realized something and I am sorry if I caused any confusion here. Basically I was playing around with LFS just now and again I was able to ping out and all was well on my wifi. Then I suddenly understood why and my face went RED with embarrassment sad

I have been running everything within virtual box tongue

Anyway, its great that you guys/girls are generous with your knowledge and its been appreciated. I hope one day I will be able to share in helping others too smile

Offline

#10 2012-03-15 19:33:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Wifi

Please remember to mark the thread as solved and next time please use a more descriptive thread title :-)

Offline

Board footer

Powered by FluxBB