LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Help me how ti manually activate "eth0" (noob) (https://www.linuxquestions.org/questions/slackware-14/help-me-how-ti-manually-activate-eth0-noob-627218/)

blackfox^^ 03-11-2008 08:22 AM

Help me how ti manually activate "eth0" (noob)
 
Hey! Im having problems activating my eth0 it says like this...

http://img393.imageshack.us/img393/4190/helpplzbs3.jpg


Anyone have any ideas how i can solve it?

Im total noob with slackware and linux but Im learning slowly :P


//thx for your time

MS3FGX 03-11-2008 09:25 AM

Try:

Code:

sudo ifconfig eth0 up

theNbomr 03-11-2008 09:34 AM

As with most Linux admin tasks, it is easier to get help when using text-based tools. You can copy & paste the relevant text to a forum, where it will be visible for the life of the forum.

With that in mind, you should look in the config file for your network setup. I don't know specifics of slackware, but on some systems it can be found in /etc/sysconfig/network-scripts/. Look in a file possibly called ifcfg-eth0. There may be a wrapper script to start your network device, possibly called '/sbin/ifup', which can be run as root. Also, your networking system may be set up as a service, which would allow you to run 'service network start', also as root.
Try these things, and if it fails, report any relevant findings back here. Also useful would be some information about the network hardware (make, model, etc), and the output from 'lsmod'
When posting text output to this forum, it is usually helpful to post in [CODE] tags to preserve formatting and readability.
--- rod.

3dMaster 03-11-2008 09:58 AM

On Slackware you can use "netconfig", as root, on the command line.
This is a useful script which helps you in configuring you network card easily.
Once configured just restart the network (/etc/rc.d/rc.inet1 restart)
or activate it manually (ifconfig eth0 up), if it doesn't work automatically.
Bye ;)

blackfox^^ 03-11-2008 10:24 AM

wooow thanx you are sooo kind in this forum :) Im gonna write here often, nooo stupid questions and I wont post without searching:P This did help but I still cant surf :P Have to look around more and ping. One question

/etc/sysconfig/network-scripts/ <------------- I just write this in the console right?

theNbomr 03-11-2008 10:35 AM

Quote:

Originally Posted by blackfox^^ (Post 3085170)
wooow thanx you are sooo kind in this forum :) Im gonna write here often, nooo stupid questions and I wont post without searching:P This did help but I still cant surf :P Have to look around more and ping. One question

/etc/sysconfig/network-scripts/ <------------- I just write this in the console right?

This is a directory in the filesystem. In a text console, you can navigate to there, and find what files are there. eg
Code:

ls -als  /etc/sysconfig/network-scripts
    ...or...
cd /etc/sysconfig/network-scripts

See how easy it was to refer to the text that I posted? A lot more difficult if there is only an image file on a third-party server. No one who uses a search tool will ever find any of the text in the image file, either.

For system admin functions, it is hard to beat text-based tools. It sounds like 3dMaster has a good grip on slackware-specific methods.
--- rod.

MS3FGX 03-11-2008 10:39 AM

Slackware doesn't use SysV or anything like that in terms of configuration, there is no /etc/sysconfig in Slackware so don't worry about not finding it.

Slackware uses a BSD-like configuration and init system that has all of the scripts under /etc/rc.d/. To manually configure an interface you would edit the /etc/rc.d/rc.inet1.conf file.

onebuck 03-11-2008 10:58 AM

Hi,
Quote:

Originally Posted by blackfox^^ (Post 3085046)
Hey! Im having problems activating my eth0 it says like this...

http://img393.imageshack.us/img393/4190/helpplzbs3.jpg


Anyone have any ideas how i can solve it?

Im total noob with slackware and linux but Im learning slowly :P


//thx for your time

Looks like you are running Slackware within Vmware. If the eth0 device is wired then you will need to setup within VmWare. Then you can configure as root with 'netconfig' using the information for the host. Or edit '/etc/rc.rc.inet1.conf' Wireless ???


All times are GMT -5. The time now is 03:21 PM.