LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2011, 03:36 PM   #1
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Rep: Reputation: 1
Arch Linux - Linksys wireless router ploblem


I configured everything from the arch wiki even static and dhcp IP's(cable) but i can't access the internet.
It is a Toshiba Satellite C650.

/etc/rc.conf :

eth0="dhcp"
INTERFACES=(eth0)

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

dhcpcd eht0:
Interface not found or invalid
 
Old 01-01-2011, 03:42 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
If you are not using networkmanager, you need to have network in your daemons array in /etc/rc.conf.

If you are using networkmanager, then you need to:
Code:
#eth0="dhcp"
INTERFACES=(!eth0)
ROUTES=(!gateway)
DAEMONS=(syslog-ng iptables !network @crond dbus hal networkmanager cpufreq alsa gdm)

Last edited by andrewthomas; 01-01-2011 at 03:45 PM.
 
Old 01-01-2011, 03:45 PM   #3
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by andrewthomas View Post
If you are not using networkmanager, you need to have network in your daemons array in /etc/rc.conf.
It is there

DAEMONS=(syslog-ng network netfs crond)


..and It is a fresh install with nothing much in it.. and it can't download anything because it can't connect to the internet.

Last edited by Thesniperofdeath; 01-01-2011 at 03:49 PM.
 
Old 01-01-2011, 03:51 PM   #4
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
With that setup in rc.conf you should not need to "dhcpcd eth0" (I am assuming you see the typo in your post for that command.....)


read this -

https://wiki.archlinux.org/index.php/Network

It could be that you have the gateway configured in rc.conf and it should not be. Try

Code:
ROUTES=(!gateway)
gateway will be set by dhcp

Quote:
and it can't download anything because it can't connect to the internet.
disable the gateway, reboot, then try

Code:
ping -c 3 www.google.com

Last edited by lamegaptop; 01-01-2011 at 03:54 PM. Reason: more info
 
Old 01-01-2011, 03:56 PM   #5
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by lamegaptop View Post
With that setup in rc.conf you should not need to "dhcpcd eth0" (I am assuming you see the typo in your post for that command.....)


read this -

https://wiki.archlinux.org/index.php/Network

It could be that you have the gateway configured in rc.conf and it should not be. Try

Code:
ROUTES=(!gateway)
gateway will be set by dhcp

I read the wired section and fixed but it still won't connect.Is there a way to install networkmanager from a usb?

command:
ping -c 3 google.com
unknown host google.com

Last edited by Thesniperofdeath; 01-01-2011 at 03:57 PM.
 
Old 01-01-2011, 04:01 PM   #6
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
network manager has a lot of dependencies and it would be tough to install from usb. That would probably not fix your issue, anyhow.

Please look at lspci and ifconfig and 'dmesg | grep eth'. Could it be that the wired ethernet adapter is not recognized?

Last edited by lamegaptop; 01-01-2011 at 04:04 PM. Reason: more info
 
Old 01-01-2011, 04:10 PM   #7
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by lamegaptop View Post
network manager has a lot of dependencies and it would be tough to install from usb. That would probably not fix your issue, anyhow.

Please post output of lspci and ifconfig. Could it be that the wired ethernet adapter is not recognized?
ifconfig:
Code:
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0,0 b)

lspci is too long to type out..
"dmesg | grep eth" has no output

I tried Archbang(extremely restrictive and I reformatted) but networkworkmanger worked fine and could connect to the internet

Last edited by Thesniperofdeath; 01-01-2011 at 04:18 PM.
 
Old 01-01-2011, 04:27 PM   #8
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
Well that tells me your eth0 is not up for some reason.

in the lspci you should see an ethernet controller listed. Mine looks like this -

Code:
2:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
and my dmesg | grep eth looks like this

Code:
[rb@rb-desktop ~]$ dmesg | grep eth
r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9001189c000, 6c:62:6d:80:ab:94, XID 1c4000c0 IRQ 40
r8169 0000:02:00.0: eth0: link up
r8169 0000:02:00.0: eth0: link up
If your controller appears in lspci try to bring it up manually -

Code:
 # ifconfig eth0 up
and if that is successful

Code:
 # dhcpcd eth0
if all that works then there must be an issue with your rc.conf setup.
 
Old 01-01-2011, 04:40 PM   #9
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by lamegaptop View Post
Well that tells me your eth0 is not up for some reason.

in the lspci you should see an ethernet controller listed. Mine looks like this -

Code:
2:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
and my dmesg | grep eth looks like this

Code:
[rb@rb-desktop ~]$ dmesg | grep eth
r8169 0000:02:00.0: eth0: RTL8168c/8111c at 0xffffc9001189c000, 6c:62:6d:80:ab:94, XID 1c4000c0 IRQ 40
r8169 0000:02:00.0: eth0: link up
r8169 0000:02:00.0: eth0: link up
If your controller appears in lspci try to bring it up manually -

Code:
 # ifconfig eth0 up
and if that is successful

Code:
 # dhcpcd eth0
if all that works then there must be an issue with your rc.conf setup.

01:00.1 Ethernet controller: Atheros Communications AB8152 v1.1 Fast Ethernet (rev 1)

so I do this?

Code:
ifconfig eth0 up
eht0: unknown interface: No such device
 
Old 01-01-2011, 05:15 PM   #10
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
I believe that your card uses the atl1c kernel module.

check the output of

Code:
lsmod
to see if the module is present, if not try to insert it

Code:
# modprobe atl1c
What kernel are you using?
 
Old 01-01-2011, 05:23 PM   #11
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by andrewthomas View Post
I believe that your card uses the atl1c kernel module.

check the output of

Code:
lsmod
to see if the module is present, if not try to insert it

Code:
# modprobe atl1c
What kernel are you using?
Kernel 2.6.33-ARCH


Code:
FATAL: Module atlic not found
how do you install packages directly from your file system?

Last edited by Thesniperofdeath; 01-01-2011 at 05:24 PM.
 
Old 01-01-2011, 05:29 PM   #12
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
OK. I believe you have another typo in your last post. I believe that you have a

01:00.1 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev 1)

that needs the atl1c module loaded.

on my archbox I see

Code:
rb@rb-desktop ~]$ locate atl1c
/lib/modules/2.6.36-ARCH/kernel/drivers/net/atl1c
/lib/modules/2.6.36-ARCH/kernel/drivers/net/atl1c/atl1c.ko
/usr/src/linux-2.6.36-ARCH/include/config/atl1c.h
you may need to do a

Code:
 # lsmod | grep atl
# modprobe atl1c
see this for more info

http://ubuntuforums.org/showthread.php?p=9449490
 
Old 01-01-2011, 05:55 PM   #13
Thesniperofdeath
LQ Newbie
 
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by lamegaptop View Post
OK. I believe you have another typo in your last post. I believe that you have a

01:00.1 Ethernet controller: Atheros Communications AR8152 v1.1 Fast Ethernet (rev 1)

that needs the atl1c module loaded.

on my archbox I see

Code:
rb@rb-desktop ~]$ locate atl1c
/lib/modules/2.6.36-ARCH/kernel/drivers/net/atl1c
/lib/modules/2.6.36-ARCH/kernel/drivers/net/atl1c/atl1c.ko
/usr/src/linux-2.6.36-ARCH/include/config/atl1c.h
you may need to do a

Code:
 # lsmod | grep atl
# modprobe atl1c
see this for more info

http://ubuntuforums.org/showthread.php?p=9449490

Can i also know how you install packages locally from your filesystem?

Thanks for the help
 
Old 01-01-2011, 06:00 PM   #14
lamegaptop
Member
 
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49

Rep: Reputation: 4
Code:
# pacman -U /path/to/package/package_name-version.pkg.tar.xz
https://wiki.archlinux.org/index.php...kage_databases
 
  


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
i'm trying to connect a linksys wrt54g wireless router to linux (desktop) redchard Linux - Wireless Networking 2 10-19-2010 01:56 PM
Linksys-Cisco WRT54GL Wireless-G Broadband Router (Compatible with Linux) pollyb Linux - Wireless Networking 2 12-06-2009 08:29 AM
New Linux user, can not connect to Linksys Wireless router - help! vban77 Linux - Wireless Networking 7 08-02-2009 02:47 PM
LinkSys WRE54G, LinkSyS Wireless G PCI (Broadcom), 802.11b Router tpreitzel Bluewhite64 6 07-16-2008 06:55 PM
linksys wireless router & linksys wmp54g wireless card rude_reality Linux - Wireless Networking 13 05-25-2006 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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