LinuxQuestions.org
Help answer threads with 0 replies.
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 08-03-2002, 10:51 AM   #1
Joe Kerrigan
LQ Newbie
 
Registered: Jul 2002
Location: Cleveland, Ohio
Posts: 6

Rep: Reputation: 0
Question Totally Frustrated Home Gateway Person


I am at my wits end. I know this should be freakin simple. I have literally put in about 30 hours of time and I have not gotten anyway. Sorry for my frustration.

All I am trying to do is get a home gateway going. External nic is DSL modem. Internal nic is cross over to my laptop. 192.168.1.0

All I want to do is have my laptop access the internet. I have tried all kinds of things including masquerading and I am sure I have done nothing right.

Can't I just test a few simple things and to make sure I am moving from the laptop to the internet? From there I can build. I just can't get anything to freaking work.

Running RH 7.3 with 1.2.5 iptables and a 2.4 kernel

I have tried the HOWTO's from tldp.org, netfilter-samba.or and a few others. each time I tried, I totally reloaded 7.3 to make sure nothing was left.

Can someone just offer up a few suggestions?
 
Old 08-03-2002, 11:12 AM   #2
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
Don't know much of all these. But I think 192.168.1.0 is a network address. Try making your laptop address 192.168.1.1 or something similar
--Sarin
 
Old 08-03-2002, 06:21 PM   #3
network
LQ Newbie
 
Registered: Jul 2002
Location: USA
Distribution: Slackware 9.1
Posts: 7

Rep: Reputation: 0
Try http://freshmeat.net/projects/fw/

I hope you mean 192.168.0.1.
 
Old 08-05-2002, 07:39 AM   #4
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Hi Joe,

Let's get this stuff to work =]

The answers to the following questions should get us started.
- Can you ping the internet from the gateway?
- Can you ping the laptop from the gateway?
- Can you ping both addresses of the gateway from the gateway?
- What is the output of ifconfig on the gateway?
- What is the output of netstat -ar on the gateway?
 
Old 08-05-2002, 08:13 AM   #5
Joe Kerrigan
LQ Newbie
 
Registered: Jul 2002
Location: Cleveland, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Griffon26,

Thanks for the reply, I appreciate it. I actually did end up getting it to work. I thought I replied to my own message indicating I had success, but I guess I didn't get it posted.

The problem I had was two things. Red Hat 7.3 during the installation asks to establish a firewall. I originally said yes, "setup medium rules". This resulted in Red Hat writing some ipchain rules for me. When ipchain is running, iptables has a hard time. I reinstalled without any automatically configured firewall rules. ipchains is effectively turned off as a module.

The other problem I had is rather embarrassing. The dhcp server was sending a gateway address of 192.168.1.254 (at my request). The NIC card had an address of 192.168.1.1 (also my request). So, when my client machine was handed a lease, it had the .254 address as a gateway and couldn't find the server. I could ping the .1 address but not the .254. Once I figured that out along with the iptables issue, everything worked!!!

Being a newbie, it is hard to know what is what. THIS IS THE ONLY WAY TO LEARN THOUGH for me, the hard way!

I ended up using www.tldp.org's HOWTO's and the one summurazing "routing" under networking is very helpful.

I now need to get remote access going. I can ssh into my server remotely, but I am having a tough time trying to find a program that will run Xcommands from my windows XP client machine. Do you have a recommendation?
 
Old 08-05-2002, 08:50 AM   #6
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
If you mean using X as if you were at the linux box, there are several options.

You can use X-Win32 (http://www.starnet.com/) or Exceed (http://www.hummingbird.com/) to connect to the X server from your Windows PC.

Or you could use something like for example VNC (http://www.uk.research.att.com/vnc/) which copies the screen pixel by pixel (of course only those parts that changed since last copy).

The advantage of the first two are obvious: windows are drawn locally so you only need a little bit of bandwidth. The advantage of VNC is that if your connection gets severed, the applications won't lose their windows and keep on running.

If this is not what you meant, then you'll have to help me =]
 
Old 08-05-2002, 11:04 AM   #7
Joe Kerrigan
LQ Newbie
 
Registered: Jul 2002
Location: Cleveland, Ohio
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, that was exactly what I was looking for. I tried a few programs I found but they weren't very good. I will check these out. Thanks!
 
  


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
Home gateway + iptables kurrupt Linux - Security 2 08-08-2005 07:48 AM
/home totally hosed (long) pete_bogg Slackware 5 01-17-2005 09:59 PM
Project questions -> old pc as a gateway/proxy server for home thegeekster Linux - Networking 13 07-28-2004 08:51 AM
Setting up a Home Network Gateway. Riddick Linux - Networking 2 06-16-2004 08:58 PM
Linux Home Gateway Problem Snabber Linux - Networking 8 07-27-2003 11:11 PM

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

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