LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2008, 08:22 AM   #1
blackfox^^
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
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
 
Old 03-11-2008, 09:25 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Try:

Code:
sudo ifconfig eth0 up
 
Old 03-11-2008, 09:34 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 03-11-2008, 09:58 AM   #4
3dMaster
LQ Newbie
 
Registered: Jan 2008
Posts: 23

Rep: Reputation: 15
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

Last edited by 3dMaster; 03-11-2008 at 09:59 AM.
 
Old 03-11-2008, 10:24 AM   #5
blackfox^^
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 03-11-2008, 10:35 AM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Quote:
Originally Posted by blackfox^^ View Post
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.
 
Old 03-11-2008, 10:39 AM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 03-11-2008, 10:58 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,
Quote:
Originally Posted by blackfox^^ View Post
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 ???

Last edited by onebuck; 03-11-2008 at 10:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NOOB - DNS latency on FC6 - seems to "hang" eth0 at random intervals? How to fix? rylan76 Linux - Newbie 4 12-22-2006 12:34 PM
NOOB - DNS latency on FC6 - seems to "hang" eth0 at random intervals? How to fix? rylan76 Red Hat 1 12-22-2006 05:07 AM
NOOB - DNS latency on FC6 - seems to "hang" eth0 at random intervals? How to fix? rylan76 Linux - Networking 1 12-22-2006 04:45 AM
not being able to activate the "ethernet card" eth0 b0nd Linux - Newbie 8 02-09-2005 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration