LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-08-2002, 03:45 PM   #1
parle
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12

Rep: Reputation: 0
Coyote Linux


I'm trying to use Coyote Linux (www.coyotelinux.com), which is basically Linux Router Project with an easier config script to build a floppy. I've had no problem connecting to the outside via a dialup or ethernet using DHCP, but can't quite get it to negotiate the connection to my inside network. I can get other machines running on it with no problems, as I am using static IP addresses. Any suggestions?
 
Old 05-08-2002, 09:49 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
try ifconfig eth0 192.168.0.101

or whatever ip you need to be on the same network as the lan according to the netmask you are using.

then try to ping the other machine

ping 192.168.0.1

also...

does the light on the hub and or nic lightup when it's hooked up on the lan

do you have a firewall blocking traffic
 
Old 05-13-2002, 08:28 AM   #3
parle
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 8.0, FreeBSD 4.8
Posts: 12

Original Poster
Rep: Reputation: 0
Lightbulb New Coyote Linux Problem

I got Coyote Linux to connect up to the inside and outside.... now a new problem....no routing.

I don't have a firewall on inside machines, and when I request the outside network, the router dials up and connects, but doesn't route any data between my home LAN and the Internet.

Does anyone have an idea what's up?
 
Old 05-14-2002, 09:18 AM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
The main thing is that you set it up to forward
run this command...

cat /proc/sys/net/ipv4/ip_forward

you should see this...

1


if not run this command...

echo 1 > /proc/sys/net/ipv4/ip_forward


you will have to put the in your firewall scripts or rc.local or somewhere that will run it when you boot if you want it to work all the time.


the other thing is your ip addresses for the internal machines, are you using ip MASQ?

if you have non-routable ip addresses like most people you will not be able to use them on the internet. You will have to always use the routers ip address. This requires ip MASQ to be set in your firewall rules


use the internet interface name in the place of ppp0 if it's not the right interface name.

for iptables...

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

for ipchains...

ipchains -A forward -i ppp0 -j MASQ



check the security forum or lookup rc.firewall on google.com for some rules. These are just the masq rules and should not be taken to mean that this is all you need to use.


Make sure your policies are not set to restrict all traffic
 
  


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
Coyote Linux how to add ide support? bruno buys Linux - Networking 0 11-01-2004 08:56 PM
Linux Coyote fmgonza Linux - Networking 1 10-26-2004 02:41 PM
Will I need a hub with Coyote Linux? Caled Linux - Networking 2 07-29-2004 11:59 AM
2 internet connections w/ coyote linux jac0b Linux - Networking 0 04-14-2004 12:56 PM
Coyote Linux router anyone? rickenbacherus Linux - Software 2 04-22-2003 09:39 PM


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration