SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
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
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?
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.
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.
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 ???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.