LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2005, 01:54 PM   #1
thomasfingram
Member
 
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, 02:44 PM   #2
zhangmaike
Member
 
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:
Code:
echo "dhcpcd" >> /etc/rc.d/rc.local
The prefered way would be to use netconfig, though.
 
Old 07-04-2005, 08:41 PM   #3
lasindi
Member
 
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 http://www.samba.netfirms.com/. 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.

lasindi
 
Old 07-05-2005, 01:38 AM   #4
pvs
Member
 
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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration