Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-04-2005, 02:54 PM   #1
Registered: Jun 2005
Location: Cary, NC
Distribution: Fedora Core 4
Posts: 44

Rep: Reputation: 15
Unhappy Can't get online

I am very new to Linux. I set up Slackware 10.1 and by default (I installed everything) it doesn't get online. I have it connected to a router (Linksys RT31P2) and was only able to get online after opening a console, logging in as root and typing 'dhcpcd'. When I rebooted, it didn't get a new IP address. I can't have to renew the IP address manually everytime the machine boots up! (This computer is for my sister.) How do I get around this?

Btw I have a Windows machine also attached to this router, and it can get online just fine. Also I'd like to be able access a Linux share (/shared) from both machines.
Old 07-04-2005, 03:44 PM   #2
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
dhcpcd will have to be run somehow, every time the computer reboots. If you don't want to do this manually (that'd get old quickly) you can try to use the Slackware network configuration tool. (As root, run netconfig)

If that doesn't work for any reason, you can make dhcpcd run automatically by adding the line "dhcpcd" to the end of /etc/rc.d/rc.local. You can do that, as root, with:
echo "dhcpcd" >> /etc/rc.d/rc.local
The prefered way would be to use netconfig, though.
Old 07-04-2005, 09:41 PM   #3
Registered: Apr 2004
Distribution: Slackware, Ubuntu
Posts: 101

Rep: Reputation: 15
zhangmaike addressed your first issue (DHCP), but you'll need to use Samba to do file sharing between Windows and Linux. An excellent tutorial I came across is at The tutorial explains how to write your own /etc/samba/smb.conf, but there is also an example smb.conf included with Slackware with lots of comments to help guide you as you customize it.

Old 07-05-2005, 02:38 AM   #4
Registered: Jan 2005
Location: Lviv, Ukraine
Distribution: Something self-made
Posts: 69

Rep: Reputation: 16
dhcpcd usually starts when in network configuration is setting to get ip addres automatically


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
MU Online and other online games webdevel Linux - Games 63 08-11-2007 05:30 AM
How to watch Online TV or listen to Online radiostations? polemon Linux - Newbie 4 10-07-2005 02:49 PM
Server goes online when started and stays online ... joepl Linux - Networking 1 08-18-2005 03:12 PM
kopete online then away the online tnf Mandriva 2 04-10-2004 06:12 PM
Online Banking / Online Shopping in Linux? JROCK1980 Linux - General 14 02-27-2004 03:46 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:25 AM.

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