LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-24-2009, 08:58 PM   #1
bgraybr
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Rep: Reputation: 15
Question Can't connect to internet- distro: Arch base install


I don't know anything about networking. I'm following the Arch Beginners Guide.

First I tried a wired connection:

# dhcpcd eth0

It timed out. So I tried:

# dhcpcd wlan0

Interface not found or invalid.

I couldn't get a wired connection to work. I know DHCP is enabled on my linksys router.


So next I tried a wireless connection. I typed iwconfig, the only interface that seems to be working is wlan0, so:

# ifconfig wlan0 up

SIOCSIFFLAGS: No such file or directory

I googled the error code, and came up with this thread, but none of the information in it is helping. What do I need to do? Do I need to find a different Ethernet driver?
 
Old 09-24-2009, 09:28 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Look at the output of "lspci -v" and locate the information for your two devices. At the end of each section, does it indicate which kernel module controls each device? If you have an older version of arch and a newer computer with a GigE nic adaptor, you might not have a kernel module that will work. This is even more likely for wireless. A new wireless controller, especially wireless-N may not be supported by your kernel. On the other hand, you may have kernel module, but you need to load it.

Since wlan0 is showing up, it sounds like it was detected. Does the device itself work, or do you maybe need a firmware blob for the kernel module to function?
Try the iwscan program (wireless tools).
iwscan wlan0 scan

Does your access point show up? If so then the device is working. You can look at authentication (wpa_supplicant) and your network configuration next.

If you only have one computer, you might try booting up with a live distro, such as SuSE, Ubunto or Knoppix. See if either network device works. You may be able to verify that you don't have a problem with the router.
 
Old 09-24-2009, 09:47 PM   #3
bgraybr
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal View Post
Look at the output of "lspci -v" and locate the information for your two devices. At the end of each section, does it indicate which kernel module controls each device? If you have an older version of arch and a newer computer with a GigE nic adaptor, you might not have a kernel module that will work. This is even more likely for wireless. A new wireless controller, especially wireless-N may not be supported by your kernel. On the other hand, you may have kernel module, but you need to load it.

Since wlan0 is showing up, it sounds like it was detected. Does the device itself work, or do you maybe need a firmware blob for the kernel module to function?
Try the iwscan program (wireless tools).
iwscan wlan0 scan

Does your access point show up? If so then the device is working. You can look at authentication (wpa_supplicant) and your network configuration next.

If you only have one computer, you might try booting up with a live distro, such as SuSE, Ubunto or Knoppix. See if either network device works. You may be able to verify that you don't have a problem with the router.
I'm using the latest version of Arch, and I installed all of the optional wireless tools etc. I know that my router is working because I've been using it for over a year. I had several different distros installed on the same computer, and never had any problem connecting to the internet (but then again, they all came with easy to use network managers). I'm posting this reply from a live cd also. I'll try all of your suggestions and post again later.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duke Arch install pings router but wont connect to internet ClinicalMistake Linux - Networking 1 06-03-2007 10:10 AM
install internet or xorg and kde on arch linux Pjotrik Linux - Hardware 2 04-04-2007 11:28 AM
arch iso - base or not? doronunu Arch 3 02-22-2006 10:21 AM
Cant connect to internet on Mandrake past 9.0 distro rmccarty Mandriva 3 12-31-2004 11:37 PM
recent debian distro/base files/ net install ? mvbv-linux Debian 1 01-08-2004 11:15 AM


All times are GMT -5. The time now is 11:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration