You are not logged in.
Pages: 1
Hi,
I am a newbie to Linux. I got a brandnew desktop with i5-720 and have been trying to connect to Internet after installing ArchLinux by CD for 1 week without success. I have BIllion router and another laptop connect to the router too. I use my router LAN-ip as gateway and DNS server. When I try to ping my router it says network unreachable, when I try to ping google.com it says unknown host. I wonder if you can please help me.
Thanks and regards
Offline
Sounds like you don't have an ip address, does the router have a dhcp server? (most home routers do).
You might have use for the following commands:
sudo dhcpcd eth0 - requests an ip address from a dhcp server on interface eth0
sudo dhcpcd -k eth0 - kills the current dhcpcd talking on eth0 (or someting like that)
sudo ifconfig eth0 up/down - activates/deactivates the eth0 interface.
man ifconfig \ _ more detailed info.
man dhcpcd /
Have you read the beginners' guide? -there are some networking tips there.
If this is a persistent problem it might help to supply the networking parts of rc.conf and the output of ifconfig.
I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.
Offline
HI tvlb,
THanks for your tips. I will try Arch Linux again tonight and write down the content of rc.conf and resolv.conf. I followed the beginner's guide but no internet connection at all. I uninstalled Arch last night and tried Fedora 11, again no internet connection on Fedora too, no eth0 but only pan0 "inactive" and "never". I ran some command in Fedora (don't remember which one, got it from google) to list the network cards but the NIC was not detected. I am not sure if it has anything to do with my Intel motherboard DP55WB.
Last edited by phuongnguyen (2010-03-11 02:22:33)
Offline
HI tvlb,
I used the command you suggested: unknown interface: no such device. Looks like the problem lies in my ethernet controller Gigabit 82578DC. Other intel ethernet controllers have Linux drivers on intel support website, this one doesn't. Some drivers called e1000 or e1000e exist but this ethernet controller is not among the ethernet controllers supported.
Last edited by phuongnguyen (2010-03-13 06:04:44)
Offline
Web search indicates e1000e is the correct driver for your card. What is the output of
lsmod | grep e1000e
ifconfig -a
(as root)?
Offline
Try
modprobe e1000e
(also put "e1000e" *without the ""* to your MODULES section, at /etc/rc.conf).
Reboot and give us the output of
ifconfig
Last edited by gtklocker (2010-03-13 07:09:57)
Offline
Hi gtklocker and ploub,
THanks for your replies:
lsmod grep e1000e gives Usage lsmod then
ifconfig -a gives
*********
lo 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 txqueulen: 0
RX bytes: 0 (0.0 b) TX Bytes: 0 (0,0 b)
*********
modprobe e1000e then add e1000e to modules() in rc.conf then reboot then ifconfig gives exactly the same outcome as above.
Offline
Please copy and paste the lsmod command (as root) given above - you are not typing it in correctly. If there is no output, modprobe e1000e as gtklocker suggests, then post the output from ifconfig -a (no need to reboot).
Offline
HI ploub
lsmod | grep e1000e gives
e1000e 138176 0
SOrry I can't copy from my laptop, through which I am browsing this forum to my desktop because I still don't know how to copy to linux
ifconfig -a outcomes does not change
Last edited by phuongnguyen (2010-03-13 12:14:54)
Offline
Try to create a bug report. It'd be very good to see what's the problem.
Offline
JUst report it: http://bugs.archlinux.org/task/18665
Last edited by phuongnguyen (2010-03-13 13:19:23)
Offline
Hi, I copied the latest e1000e driver and installed it on my desktop. now I can ping the router and the other laptop, which is connected to the same router, however I can't ping www.google.com or www.yahoo.com: "connect: network is unreachable". ANy idea?
Offline
Dear All, I looked at 1sst suggestion from tlvb again and changed the rc.conf networking from static ip to dhcp, and I CAN PING Google now. Thank you very much all of you for your help. I am so excited.
Offline
I have the same network card and the same problem. I have read the thread carefully, and tried the suggestions but haven't been able to resolve it. I just installed using the installation disk. Please advise.
Last edited by Geass (2010-04-17 19:34:45)
Offline
Mate, if my poor memory does not betray me please try:
1- Donwload the e1000e from http://downloadcenter.intel.com/Detail_ … ldID=15817
then install it (please follow the readme.txt file http://downloadmirror.intel.com/15817/eng/README.txt)
Also put "e1000e" *without the ""* to your MODULES section, at /etc/rc.conf
2- Use dhcp in the rc.conf (and when you set up your adsl router) first to see if the whole thing works. I was struggling with static ip for 1 month with no result, when I changed to dhcp it worked instantly.
Good luck!
Offline
As phuongnguyen, I bought yesterday a brandnew pc-desktop with i5-720. I tried to make a netinstall of archlinux (2010.05 i686) but it seems it does not recognize my ethernet card (e1000e) and so, when I want to set time up to ntp or to get the list of available packages, it cannot do and I must stop the installation.
Anyone any idea?
Offline
HI Mechelen, I never tried net install, only CD. I just installed arch on IBM thinkpad X31 without problems. May be you want to try CD installation to see if it will work? Cheers, Phuong.
Offline
So, I solved the problem this way:
I installed arch via the archboot cd, went to VC2 and entered the following
#modprobe e1000e
#ifconfig eth0 mtu 576
After this I could make a netinstall without any problem.
Now, each time I start my pc, I have to make the following commands:
#ifconfig eth0 mtu 576
#/etc/rc.d/network restart
#/etc/rc.d/openntpd restart
I'd also like to know whether there exists a way NOT to do this after each start. Couldn't I create a daemon that I could put in my rc.conf? How should I do that?
Offline
By does Archlinux have such problem with the e1000e module while OpenSuse, Fedora and mandriva don't? Is this a problem with the kernel? Or a (stupid) bug?...
Offline
Hi, my /etc/rc.conf has "MODULES=(e1000e)" and "DAEMONS=(syslog-ng network netfs crond)", which I guess is the way that module and the network services are always running in the back ground from start. Can you look to see if your rc.conf is the same?
Offline
Hi, my /etc/rc.conf has "MODULES=(e1000e)" and "DAEMONS=(syslog-ng network netfs crond)", which I guess is the way that module and the network services are always running in the back ground from start. Can you look to see if your rc.conf is the same?
In my rc.conf is the field "modules" now empty, I tried to put e1000e in it but it did not change anything. So, now I am trying to make use of udev: I created a rule called 10-network.rules (under /etc/udev/rules.) with this in it: SUBSYSTEM=="net", ATTR{address}=="90:fb:a6:49:58:40", NAME="eth0", but I don't think it helps much.
As for the daemons, I have it a bit fatter: DAEMONS=(syslog-ng dbus hal network netfs openntpd crond)
Offline
Pages: 1