View previous topic :: View next topic |
Author |
Message |
vrabec n00b
Joined: 21 Sep 2005 Posts: 5
|
Posted: Tue Sep 27, 2005 11:36 am Post subject: |
|
|
your network problem is very simply.
just write into /etc/modules.autoload.d/kernel-2.6
word tulip and reboot system |
|
Back to top |
|
|
hotpurple n00b
Joined: 27 Sep 2005 Posts: 42 Location: Birmingham, UK
|
Posted: Wed Sep 28, 2005 1:24 am Post subject: |
|
|
Hi,
I'm new around here (as you can probably tell).
I've recently installed gentoo on my machine and I'm having a very similar problem to what is described here. I was able to connect during the install with the CD, but afterwards the network simply would not connect. I am using a static ip and have set the name server, ip, subnet mask, and default gateway up correctly, but still no connection.
I don't get an error message during startup I just get destination host unreachable if I ping another computer on my network and unknown host if I ping google.
I've looked through all the instructions in this thread and followed them but I still have the same problem. Computer spec is as follows:
Athlon Xp 3200+
1gb PC3200 ram
Asus A7N8X Dlx 2.0 (nforce 2 ultra 400 with MCP-T)
Does anyone have any idea on this one?
Cheers
Chris |
|
Back to top |
|
|
latzer n00b
Joined: 10 Oct 2005 Posts: 2 Location: Zürich Switzerland
|
Posted: Mon Oct 10, 2005 10:12 pm Post subject: Re: Yay! |
|
|
Praxxus wrote: | Okay, now we're getting somewhere, mrpotatohead! lspci doesn't work on your installation because you don't have the sys-apps/pciutils package installed yet. Which of course you can't do until we get your ethernet card working! Fortunately, we don't need lspci to get it working. It's just a handy tool to have.
Things to do as root:
1)
2)
3) Go to:
Device Drivers
--->Networking support
4) Make sure [ ]Networking support (at the top) is enabled!
5) Go to:
--->Networking options
6) Here, I would go through each item and either compile it into the kernel (*) or as a module (M) if the help recommends it. Usually it will say something like, "Say 'Y' for now," or "Say 'Y' here unless you know what you are doing." As a cheat sheet, you can peek at a screenie of my own network config, but you'll be much better off in the long run if you read through things yourself. Especially since I have some stuff selected that isn't essential to get networking up and running.
7) Select < Exit > at the bottom of the menu
Go down to:
--->Ethernet (10 or 100Mbit)
9) Select:
[*] Ethernet (10 or 100Mbit)
[*]EISA, VLB, PCI and on board controllers
<M>National Semiconductor DP8381x series PCI Ethernet support
10) < Exit >
11) < Exit >
12) < Exit >
13) < Exit >
14) < Yes >, you want to save your new kernel configuration
15) Code: | cp .config config
make mrproper
cp config .config
make oldconfig
make
mount /boot
make install && make modules_install |
The first three steps there are to get your new config out of the way, clean up your kernel code, then put your config back so you can build the kernel based on that.
16) Edit /etc/modules.autoload.d/kernel-2.6, and add a line that says "natsemi"
17) Code: | rc-update add net.eth0 default | Just to be sure!
1 reboot |
thank you for your little howto it was very helpful and my net is now working without asking stupid questions |
|
Back to top |
|
|
b4d n00b
Joined: 15 Oct 2005 Posts: 3
|
Posted: Thu Oct 20, 2005 10:20 pm Post subject: |
|
|
Ok, I have adsl, my isp provides me dynamic IP.
Like with others, internet works from livecd, by running adsl-setup, adsl-start, but after the reboot i can't get online anymore. I have installed dhcpcd and pppoe with emerge.
On boot it goes like
Code: | Configuration not set for eth0 - assuming dhcp
dhcp
Running dhclient |
but it fails, and when i try adsl-start, i get timed out.
when i try adsl-status i get:
Code: | adsl-status: link is down (can't read pppoe PID file /var/run/pppoe.conf-adsl.pid.pppoe) |
ifconfig eth0 doesn't show any errors.
I really don't know what to do anymore.
btw I've used genkernel. |
|
Back to top |
|
|
FinsnickarOla n00b
Joined: 04 Dec 2005 Posts: 2
|
Posted: Sun Dec 04, 2005 12:30 am Post subject: Network card problem |
|
|
Hi! I just installed gentoo through the great installation guide on this webbsite, I used debian before but not much, so Im not that experienced with linux.
When I installed gentoo and rebooted the system the kernel couldnt find my network card.
* eth0 does not exist.
* ERROR: Problem starting needed services-
* "netmount" was not started.
I guess I choosed wrong network driver when I configured the kernel but, I have tried some of them now with the same result, can someone help me get the right driver.
My comp is a HP omnibook XE3, I searched on google for what drivers I should choose but I still get the same result. |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Sun Dec 04, 2005 1:26 am Post subject: |
|
|
Using dhcp ??? - did you emerge a client ??.
Try looking for the eth0 messages in |
|
Back to top |
|
|
bookstack Apprentice
Joined: 27 Feb 2004 Posts: 245
|
Posted: Sun Dec 04, 2005 3:27 am Post subject: |
|
|
Have you compiled the driver into kernel or as module ?
hope this helps. _________________ Refactor the life |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Dec 04, 2005 3:46 am Post subject: Re: Network card problem |
|
|
FinsnickarOla wrote: | I guess I choosed wrong network driver when I configured the kernel but, I have tried some of them now with the same result, can someone help me get the right driver. |
If you post the output of the lspci command, I'm sure someone can point you in the right direction. |
|
Back to top |
|
|
motersho n00b
Joined: 17 Mar 2005 Posts: 8 Location: Detroit, MI
|
Posted: Sun Dec 04, 2005 6:29 am Post subject: |
|
|
Since posting the output of lspci would be difficult becuase you are not on the internet. Another easy way to find out which driver to use is to boot to the gentoo livecd and once booted do a lsmod. You will be able it find out which driver gentoo choose for you to during the install and then boot back into you new install and modprobe that driver or add it to /etc/modules.autoload.d/kernel-2.6 file. |
|
Back to top |
|
|
FinsnickarOla n00b
Joined: 04 Dec 2005 Posts: 2
|
Posted: Mon Dec 05, 2005 12:08 am Post subject: |
|
|
I booted the livecd again and did lspci, I found out that my ethernet adapter is a Accton Technology Corporation EN-1216 Ethernet adapter.
Cant find anything similiar to that in /usr/src/linux "make menuconfig" |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Dec 05, 2005 11:41 am Post subject: |
|
|
Boot the livecd and look at the output of lsmod too. That will show you a list of modules the kernel loaded. The driver for the network card should be among them. I think you need the tulip driver. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Dec 05, 2005 12:54 pm Post subject: |
|
|
Merged from here to this thread. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
zonzi n00b
Joined: 29 Jul 2004 Posts: 6
|
Posted: Tue Dec 06, 2005 4:08 pm Post subject: |
|
|
hi guys, i met almost the same problem after emerge -uD world
Code: |
ERROR: Problem starting needed services.
* "netmount" was not started.
|
this message appears when i boot up gentoo linux
after login into the system, i can manually configure the network using dhcpcd and ifconfig -a and it seems work fine
but each time i boot up gentoo linux, i have to do the samething manually
and /etc/conf.d/net is the following
Code: |
# more /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0=( "dhcp" ) |
and the complete message when i start # /etc/init.d/netmount start are here:
Code: |
# /etc/init.d/netmount start
* Starting eth0
* adsl does not support the required function provides
* apipa does not support the required function check_installed
* arping does not support the required function provides
* bonding does not support the required function provides
* bridge does not support the required function provides
* dhclient does not support the required function provides
* dhcpcd does not support the required function provides
* essidnet does not support the required function check_installed
* ifconfig does not support the required function provides
* ifplugd does not support the required function provides
* ipppd does not support the required function provides
* iproute2 does not support the required function provides
* iptunnel does not support the required function check_installed
* iwconfig does not support the required function provides
* macchanger does not support the required function check_installed
* macnet does not support the required function check_installed
* netplugd does not support the required function provides
* pppd does not support the required function provides
* pump does not support the required function provides
* rename does not support the required function check_installed
* system does not support the required function check_installed
* tuntap does not support the required function provides
* udhcpc does not support the required function provides
* vlan does not support the required function provides
* wpa_supplicant does not support the required function provides
* no interface module has been loaded
* ERROR: Problem starting needed services.
* "netmount" was not started.
|
anyone can help me to start automatically the network interface?
thank you _________________ amd 64bit 3000+ nvidia ati9800pro gentoo
amd 1700+ nvidia geforce2
apple powerbook g4 1.5G tiger
i'm newbie |
|
Back to top |
|
|
zonzi n00b
Joined: 29 Jul 2004 Posts: 6
|
Posted: Wed Dec 07, 2005 10:31 am Post subject: |
|
|
i have the solution:
#rm /etc/init.d/net.*
#rm /etc/conf.d/net
#emerge baselayout
and edit /etc/conf.d/net _________________ amd 64bit 3000+ nvidia ati9800pro gentoo
amd 1700+ nvidia geforce2
apple powerbook g4 1.5G tiger
i'm newbie |
|
Back to top |
|
|
Sculler n00b
Joined: 09 Dec 2005 Posts: 16
|
Posted: Sun Dec 11, 2005 3:45 pm Post subject: |
|
|
I have a wireless lan card installed using ndiswrapper, which I think is working (using iwconfig shows the card), and I have tried to set it up using wireless tools for a WEP network, but at boot-time I get the errors:
Problem starting needed swervices.
"netmount" was not started
(There is also a message saying 'For Wireless (802.11) support, emerge net-wireless/wireless tools', which is already emerged)
my /etc/conf.d/net file reads
Code: | modules=( "iwconfig" )
essid_wlan0="HOME"
key_HOME="6EAF3D11CC enc open" |
When I run iwconfig, i get:
Code: | IEEE 802.11b ESSID:off/any
Mode:Managed Channel:0 Access Point 00:00:00:00:00:00
Bit Rate:1 Mb/s Sensitivity=-200dBm
RTS thr:2348 B Fragment thr: 2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-85 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessiv retries:0 Invalid misc:0 Missed beadcon:0
|
I have followed install instructions from the ndiswrapper website and then the installation manual.
Thanks in advance for any help, and let me know if there's any other info you need |
|
Back to top |
|
|
Dartelin n00b
Joined: 15 Jun 2004 Posts: 10
|
Posted: Sat Dec 31, 2005 11:13 am Post subject: |
|
|
Hi
I have searched for any solution of my problem but i coud'nt find anything helpfull. The thing is that i can't connect to LAN via DHCP. The problem appeared after i've installed gentoo-2005-r1 and updated. Before that i had an older gentoo version and it worked perfect, no network problems. Kernel is configured properly, driver for network card is b44, compiled in, tried also as module but didn't work. Ifconfig -a shows eth0 and lo. I have emerged dhcpcd, tried also dhclient but without any success. When i run from live-cd DHCP works without any problems. I've read this topic https://forums.gentoo.org/viewtopic-t-411479-highlight-dhcp.html and decided to re-emerge to bash-3.0-r14, but this also did'nt help. Emerging of baselayout did'nt help. I know that i'm not the only one guy that has that problem, someone on #gentoo channel told me about exactly the same. In /etc/conf.d/net i've added 'config_eth0=( "dhcp")' to be absolutely sure that /etc/init.d/net.eth0 is starting DHCP. If anyone has the answer please share with us. Thank you. |
|
Back to top |
|
|
1canuck2 n00b
Joined: 10 Jan 2006 Posts: 23
|
Posted: Tue Jan 10, 2006 7:45 pm Post subject: |
|
|
Adding on to this thread as I have similar problems...
Newbie to Gentoo here. Installing 2.6.14-r5 on LVM'ed dual SATA drives with Asus P4P800 board. Everything seems to be fine fine except I am getting
Code: | eth0 device not found |
error on reboot after install.
I followed the install handbook and at the networking stage my card was not autoconfigured, but net-setup did the trick and the eth0 came up.
After building the kernel (and following the steps in the guide) I do the final big reboot, I get the eth0 device not found error
lspci shows my Ethernet controller as Marvell 88E8001 (its Gig ethernet onboard)
I have a couple of theories as to what's up, but need some help.
First theory:
I have searched various threads, one of which implied the problem was caused by onboard firewire taking eth0. I thought this may be my problem, but my board has no onboard firewire! However, doing a dmesg shows:
Code: | IEEE1394: raw1394: /dev/raw1394 device initialized |
What is this if I have no firewire? Is it SATA support related? Could this be the cause of my network problem? How do I stop it from initializing if it is the cause?
Second theory:
Which driver do I actually need? I can find nothing in kernel config for my card (looked under e100, e1000 and e10000)?
Currently, my kernel config has Code: | Realtek RTL-8129 module | and Code: | Use PIO instead of MMIO | module selected under network device drivers. I do not consciously recall selecting this when configing my kernel, are these defaults? I may have assumed they were auto-detected from my hardware since many other things (like SATA support) were auto-selected when I got into kernel config time.
Network worked when booting from the livecd (once I called net-setup) so I know there is some driver out there that worked. Entering lsmod when booted from livecd lists a bunch of stuff, none of which was obviously a network driver (however many of the items are cryptically named).
The only driver under /lib/modules/`uname -r`/kernel/drivers/net is s2io. Is this the Realtek driver selected in kernel config?
I am obviously a little lost here, but I feel so close to having my system up and running. I thought LVM on SATA was going to be my pain but it all seems good. Any help would be truly appreciated. |
|
Back to top |
|
|
1canuck2 n00b
Joined: 10 Jan 2006 Posts: 23
|
Posted: Wed Jan 11, 2006 3:18 pm Post subject: |
|
|
Just wanted to post that I solved my own problem. It was the driver.
I am not sure how the Realtek s2io driver got selected, but I assumed it was detected.
What I needed for my p4p800 was the skge driver, which is selected by choosing
New SysKonnect GigaEthernet support (EXPERIMENTAL)
Once I added this, rebuilt my kernel, and loaded the module via autoload, everything came up sweet! |
|
Back to top |
|
|
xdracox n00b
Joined: 14 Jan 2006 Posts: 1
|
Posted: Sat Jan 14, 2006 11:55 pm Post subject: |
|
|
I have a similar problem with my new Gentoo install. I think it's a problem with the kernel modules.
On boot, I get eth0 device not found or something similar. When I run ifconfig all I see is lo and it's information. Not eth0.
I have an nVidia nForce2 Ethernet Controller, what modules are required for this?
Or is there another solution to this? |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Jan 15, 2006 1:19 am Post subject: |
|
|
xdracox wrote: | I have an nVidia nForce2 Ethernet Controller, what modules are required for this? |
Code: | # modprobe forcedeth |
|
|
Back to top |
|
|
fupop n00b
Joined: 17 Jan 2006 Posts: 2
|
Posted: Tue Jan 17, 2006 5:53 am Post subject: |
|
|
Ok, I just installed gentoo and I am having similar problems as the people previously posting here. But our stories seem to diverge towards the end; where they succeed and I dont.
Steps I have taken.
lspci on the livecd lists
0000:01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 11)
lsmod on the livecd lists (among others)
tg3
8139too
So, first thought was, lets comple both modules in to the kernel, so I did. But no eth0 showed up, and I was kind of lost. So I tried some other different settings, and there were no usual problems like copying to an unmounted /boot or copying to some other file, I have double checked such things thrice. But to no avail.
So I tried compiling them as modules. And then later adding them to the modules.autoload.d.
Booted up the system (not the livecd). Nothing as usual.
lsmod lists both modules.
So I thought, must be something else with with the kernel then so I decided to use genkernel. Genereated a new kernel, set up grub for the new target. Booted the system with the new configuration.
Still nothing.
lsmod returns similar results as it did on the livecd (excatly the same I would say).
ipconfig -a -- shows the loopback and ipv6 in ipv4 tunnel.
/etc/init.d/net.eth0 start -- fails with the message eth0 doesn't exist (or something similar).
dmesg | grep eth -- has never displayed anything (except on the livecd). |
|
Back to top |
|
|
fupop n00b
Joined: 17 Jan 2006 Posts: 2
|
Posted: Thu Jan 19, 2006 6:21 pm Post subject: |
|
|
Managed to solve it anyhow. Apparently it was a buggy bios on my K8N-DL mboard that caused the problem. But after patching it to version 1.07 it seems to be working fine. |
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Mon Jan 23, 2006 1:57 pm Post subject: |
|
|
I've had nearly exactly the same problem recently. I left my /etc/conf.d/net completely blank (i'm on wired DHCP). Have you loaded the/a module for your NIC? I don't remember how I did it, something with checking the kernel, but it wansn't all that hard. then obviously modprobe module and dhcpcd.
When you run dhcpcd do you get something like this?
Code: |
# dhcpcd
*MAC Address aa:bb:cc:dd:ee
*running dhcpcd... [!!] |
I've had the same problem for a while. My linux junkie friend came over yesterday and did exactly that. Checked the kernel for the NIC module, loaded the module, ran dhcpcd, network worked.
EDIT: Come to think of it, I don't believe that loading the NIC's module is mentioned in the manual...I'll check that right quick. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
KocetoNS n00b
Joined: 17 Oct 2005 Posts: 43 Location: Bulgaria, Nesebar/Sofia
|
Posted: Wed Jan 25, 2006 10:25 am Post subject: |
|
|
Code: |
# /etc/init.d/netmount start
* Starting eth0
* adsl does not support the required function provides
* apipa does not support the required function check_installed
* arping does not support the required function provides
* bonding does not support the required function provides
* bridge does not support the required function provides
* dhclient does not support the required function provides
* dhcpcd does not support the required function provides
* essidnet does not support the required function check_installed
* ifconfig does not support the required function provides
* ifplugd does not support the required function provides
* ipppd does not support the required function provides
* iproute2 does not support the required function provides
* iptunnel does not support the required function check_installed
* iwconfig does not support the required function provides
* macchanger does not support the required function check_installed
* macnet does not support the required function check_installed
* netplugd does not support the required function provides
* pppd does not support the required function provides
* pump does not support the required function provides
* rename does not support the required function check_installed
* system does not support the required function check_installed
* tuntap does not support the required function provides
* udhcpc does not support the required function provides
* vlan does not support the required function provides
* wpa_supplicant does not support the required function provides
* no interface module has been loaded
* ERROR: Problem starting needed services.
* "netmount" was not started. |
Everything was working fine till i emerged world and rebooted the system.I didn`t see a selution. |
|
Back to top |
|
|
revealz Tux's lil' helper
Joined: 13 Jan 2006 Posts: 75
|
Posted: Fri Jan 27, 2006 7:02 am Post subject: |
|
|
I am having same problem with realtek on hardened kernel
When it tries to bring eth0 up on bootup errors with device not found modprobe -l | grep "net" shows 8139cp.ko but on live cd when i lsmod it's using mii 8139too
I also tried to run emerge pcmcia-cs but that errored as well
|
|
Back to top |
|
|
|