Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Hi everybody, I'm having troubles with configuration of my network card in newly installed slackware 12. I have two installations, one as guest system in vmware player running on win xp, and other installed normally. The network adapter is driving me crazy in both cases, the situation is identical. After installation i wanted to enable ethernet adapter and I tried to do that with KDE Control Center -> Network settings. Firs annoyance was dialog with message that my platform is not supported and therefore I have to choose one of the proposed. I choose FreeBSD 6 and enabled my ethernet adapter and it worked. I was happy for that short period of time. After first reboot, I found out that my ethernet adapter was disabled. Again I choose platform (free BSD 6) and enabled my ethernet adapter. Everything was ok until I filled checkbox that say remember selected platform. After next reboot my ethernet is still disabled and I cant enable it (but message platform not supported is not shown anymore) it says: "There was an error changing the device's state. You will have to do it manually". Well I tried enabling it manually with
# /etc/rc.d/rc.inetd start
but without success.
I cant find solution anywhere (and beleive me i tried).
I alredy did that, but netconfig does not provide hardware configuration (I cant enable my ethernet adapter), in netconfig I can only select what I use dhcp, static ip...
What is your nic model? If it's recognized by the kernel, then the appropriate module is loaded into the kernel and netconfig can configure it for you and write the necessary info into /etc/rc.d/rc.inet1.conf.
If you don't know your nic's model, run
What is your nic model? If it's recognized by the kernel, then the appropriate module is loaded into the kernel and netconfig can configure it for you and write the necessary info into /etc/rc.d/rc.inet1.conf.
If you don't know your nic's model, run
How can I found out if my module is supported or not? One more thing, I dont understand why my network adapter worked properly if my module is not loaded in kernel?
How can I found out if my module is supported or not? One more thing, I dont understand why my network adapter worked properly if my module is not loaded in kernel?
to load the kernel module into kernel. Then run netconfig to configure your network.
If your nic worked properly before, that means that the module was loaded automatically by the KDE network configuration tool.
to load the kernel module into kernel. Then run netconfig to configure your network.
If your nic worked properly before, that means that the module was loaded automatically by the KDE network configuration tool.
modprobe pcnet32 dont help, did following:
1. modprobe pcnet32 (as root)
2. reboot
3. logged in as root and run netconfig
4. tried to ping google, didnt work
5. tried again modprobe pcnet32, ping dont work again
6. starx
7. go to KDE control center - network settings, still same message.. it wont enable my network adapter
if you are able to see the ethernet interface then it's already done. just add the /sbin/modprobe pcnet32 to rc.modules to enable it automatically during booting. run netconfig eth0 and configure your ip configurations. now run ifconfig eth0 up to bring up your ethernet interface.
Your should run:
modprobe pcnet32
netconfig (to configure your network)
There is no need to reboot. It's not Window$. Just make sure the settings you put in netconfig are correct.
I did everything as you suggested but it still dont work. The thing is that i doubt that netconfig can help me because everything is setup properly within it. Is there any way to enable/activate my network adapter from CLI?
Mind that ping may not work, so it's not a good tool to test connectivity. You can use your browser to try to connect.
Anyway after doing everything suggested, run:
Code:
lsmod
ifconfig
route -e
to verify the module is loaded, your nic is configured correctly and you have the correct gateway setup.
if you are able to see the ethernet interface then it's already done. just add the /sbin/modprobe pcnet32 to rc.modules to enable it automatically during booting. run netconfig eth0 and configure your ip configurations. now run ifconfig eth0 up to bring up your ethernet interface.
This didnt help either:
Code:
bash-3.1# netconfig eth1 (i dont have eth0 is that ok?)
bash-3.1# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0C:29:B0:A1:2F
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0x1080
bash-3.1# ping www.google.com
ping: unknown host www.google.com
Mind that ping may not work, so it's not a good tool to test connectivity. You can use your browser to try to connect.
Anyway after doing everything suggested, run:
Code:
lsmod
ifconfig
route -e
to verify the module is loaded, your nic is configured correctly and you have the correct gateway setup.
Yes, I did run netconfig after loading the module (few times actually). I'm not sure if static IP can help me because everything was fine before with DHCP. I didn't change anything in environment except the selection of checkbox "remember selected platform" in dialogbox during network configuration in kde control center.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.