LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 11-01-2006, 10:10 AM   #1
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Rep: Reputation: 15
MEPIS as a gateway?


hy

I've got a Box with two NIC's.
LAN: 192.168.0.2 eth1
WAN: 192.168.1.2 eth0

I've got a modem 192.168.1.1 which is as the same time router.

My LAN as you can imagine is on the 192.168.0.0 subnet.

Well, my problem is that i have internet connection (outside)in my WAN and not in the LAN area.

this is what i did:
iptables -t nat -A POSTROUTING -O eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat

I setted up a DHCP for my LAN, but how to start it in MEPIS?

In fedora "service dhcpd start"
and " chkconfig --level 345 dhcpd on" if we want to boot the box and have the DHCPD running automatically.

Did i miss something?

Thanks

red

Last edited by hermouche; 11-01-2006 at 10:11 AM.
 
Old 11-02-2006, 11:21 AM   #2
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
i am looking for the command of how to start the DHCPD within MEPIS??

thanks

red
 
Old 11-02-2006, 01:04 PM   #3
mdmarmer
Member
 
Registered: Jul 2005
Location: USA
Distribution: siduction
Posts: 56

Rep: Reputation: 15
DHCP in Mepis 6.0

You can configure in mutilities or in console as root type

dhclient


to get to mutilities type

mutilities

in console as root.

Mike


Use the wiki http://www.mepis.org/docs

Post to http://www.mepislovers.com great forum
 
Old 11-02-2006, 11:02 PM   #4
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mdmarmer
You can configure in mutilities or in console as root type

dhclient


to get to mutilities type

mutilities

in console as root.

Mike


Use the wiki http://www.mepis.org/docs

Post to http://www.mepislovers.com great forum
OK thanks mdmarker.

Your commands work very well.

Now i would like to start the DHCPD (server) not the client, which means that my box will deliver IP's to other boxes.

Well i've already done the DHCPD script, now i would like to start it?

In fedora this is the command: (service dhcpd start)

Thanks again

red

Last edited by hermouche; 11-02-2006 at 11:26 PM.
 
Old 11-03-2006, 12:21 AM   #5
hermouche
Member
 
Registered: Nov 2004
Location: Algeria
Posts: 111

Original Poster
Rep: Reputation: 15
The other think is that when i follow graphically this link below:
Kmenu - Network folders - Network services it says:

" The zeroconf daemon (mdnsd) is not running "

What does it mean mdnsd and how to open the network services, in GUI or in Console mode doesn't matter?

thanks guys

red

Last edited by hermouche; 11-03-2006 at 02:43 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
MEPIS 6.0: MEPIS-Dapper Collaboration is out for testing-subscribers only smiley_lauf MEPIS 9 05-03-2006 02:43 PM
Networking Problem in Mepis...Help from Mepis 3.4.3 users..Please depam Linux - Software 2 03-25-2006 10:12 AM
MEPIS 3.3.1 Gateway Firewall TuxFreak MEPIS 3 07-07-2005 10:06 AM
Pro Mepis vs. Simply Mepis, What is the difference? pbibaud MEPIS 1 05-25-2005 08:36 PM

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

All times are GMT -5. The time now is 10:12 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