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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
01-01-2011, 02:36 PM
#1
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Rep:
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
01-01-2011, 02:42 PM
#2
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690
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 02:45 PM .
01-01-2011, 02:45 PM
#3
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
andrewthomas
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 02:49 PM .
01-01-2011, 02:51 PM
#4
Member
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49
Rep:
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
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 02:54 PM .
Reason: more info
01-01-2011, 02:56 PM
#5
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
lamegaptop
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
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 02:57 PM .
01-01-2011, 03:01 PM
#6
Member
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49
Rep:
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 03:04 PM .
Reason: more info
01-01-2011, 03:10 PM
#7
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
lamegaptop
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 03:18 PM .
01-01-2011, 03:27 PM
#8
Member
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49
Rep:
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 -
and if that is successful
if all that works then there must be an issue with your rc.conf setup.
01-01-2011, 03:40 PM
#9
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
lamegaptop
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 -
and if that is successful
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
01-01-2011, 04:15 PM
#10
Senior Member
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690
I believe that your card uses the atl1c kernel module.
check the output of
to see if the module is present, if not try to insert it
What kernel are you using?
01-01-2011, 04:23 PM
#11
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
andrewthomas
I believe that your card uses the atl1c kernel module.
check the output of
to see if the module is present, if not try to insert it
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 04:24 PM .
01-01-2011, 04:29 PM
#12
Member
Registered: Sep 2009
Location: Orlando
Distribution: Debian
Posts: 49
Rep:
OK. I believe you have another typo in your last post. I believe that you have a
01:00.1 Ethernet controller: Atheros Communications A
R 8152 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
01-01-2011, 04:55 PM
#13
LQ Newbie
Registered: Jan 2011
Distribution: Gentoo, Slackware, Arch
Posts: 27
Original Poster
Rep:
Quote:
Originally Posted by
lamegaptop
OK. I believe you have another typo in your last post. I believe that you have a
01:00.1 Ethernet controller: Atheros Communications A
R 8152 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
All times are GMT -5. The time now is 05:12 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News