LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-22-2003, 12:53 PM   #1
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Rep: Reputation: 15
network and samba settings


Hello, how should I change the /etc/network/interfaces file to get my lan adapter into DHCP mode? Because I have got there now just static adress and I really need to have DHCP right now.
And the other thing-how should I correctly set up SAMBA so I can access my files from somewhere else? Everytime I tried so set it up everybody or nobody had access to the files, so I wasn,t very succesfull. Thanks
 
Old 08-22-2003, 02:19 PM   #2
Cooner
Member
 
Registered: Jul 2003
Location: Hastings, MN. USA
Distribution: Ubuntu 10.xx
Posts: 109

Rep: Reputation: 15
use a text editor of your choice.
USE_DHCP=yes

comment out
IPADDR="111.222.333.444" # your ip address
also line for netmask
 
Old 08-22-2003, 03:29 PM   #3
sorrodos
Member
 
Registered: Jul 2003
Location: Salt Lake City, UT and Spokane, WA
Distribution: Mandrake 10.0, Gentoo, FreeSBIE 1.0
Posts: 345

Rep: Reputation: 30
For samba tutorials, try these sites:
http://static.kdenews.org/content/si...rier/20030610/
http://ranger.dnsalias.com/mandrake/...ct/csamba.html
 
Old 08-22-2003, 03:52 PM   #4
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
Here is another easy-to-follow tutorial:

http://samba.netfirms.com/
 
Old 08-22-2003, 06:13 PM   #5
mmm
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 81

Original Poster
Rep: Reputation: 15
My interfaces file looked like this before:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

I tried to implement ther the USE_DHCP=yes, but I wasn't succesfull. How should it be to get the dhcp working correctly? Thanks
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network settings... piyushiitk Linux - Newbie 16 11-06-2005 07:10 PM
Ip settings/samba gone... Basslord1124 Slackware 2 04-07-2005 05:08 PM
Samba, IP settings.... Basslord1124 Fedora 3 02-24-2005 06:00 PM
Network settings jklaroe Slackware 5 06-19-2004 05:17 PM
Samba settings ciberrust Linux - Networking 8 12-31-2003 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 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
Open Source Consulting | Domain Registration