LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2001, 12:59 AM   #1
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Rep: Reputation: 0

Hello everybody!!! My goal is to have a Linux box that acts as a router/bridge/firewall, etc between my DSL connection to the internet and my internal home network. I got a copy of TurboLinux server 6.0 and installed it, but I’m having trouble getting it up on the network correctly. It’s driving me crazy and I’ve read every article I can find on the web.

TurboLinux has these neat programs called “turbonetcfg”, “turboxcfg” etc that provide an ansi gui interface to edit different configs. The turbonetcfg edits the different .conf files in the /etc directory. I currently have the eth0 (a 3com 905 so the driver is in the kernel) configured with the ip 192.168.1.1, subnet mask 255.255.255.0, etc. I have no default gateway (this will be the 2nd nic I install that connects to my dsl modem once I get the internal side up an working). My Win2k box has the ip 192.168.1.10, submask 255.255.255.0, default gateway 192.168.1.1. I can’t ping either way.

VERY weird things I’ve noticed: when I ping from the win2k box the activity light flashes on my hub for that port, but the activity light for the port for the linux box does not when I ping from it. Also, I have “arpwatch” running on the linux box (I don’t know if this is turbolinux specific or not). When I log on as root I occasionally get mail from arpwatch. One time it showed up saying a new station was found and had my win2k box listed with the appropriate ip address and mac address!!! Then I get occasional messages saying something like “linux udplog[264]: dgram to netbios-dgm from 192.168.1.10:138 sz=201(+28)”. It looks like it’s logging that my win2k box is trying to ping it.

That only adds to my frustration. Is there some simple trick I have left to do to make this thing work? Any help or advice would be GREATLY appreciated.

Thank you!!!
 
Old 01-16-2001, 07:23 PM   #2
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
Hmmm, just an update. I've found that Turbo Linux has everything commented out in the inetd.conf file. Would this have anything to do with it? Also, would I have to add my Win2k box's IP in the hosts.allow file? Would that really stop me from pinging?

Thanks again!

 
Old 01-17-2001, 07:23 PM   #3
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
Frustrations are rising and I'm at the point of just going with Mandrake. I ran the ethereal sniffer in xwindows. When I ping it from Win2k, nothing. When I ping the Win2k box from Linux, it detects lots of arp packet mac broadcasts (FF:FF:FF:FF....) asking who has 192.168.1.10 but no reply.
 
Old 01-17-2001, 07:52 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,787

Rep: Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579
What did you get if you run ifconfig?
 
Old 01-17-2001, 10:15 PM   #5
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
I'm at work now, so I can't give you the exact output, but the image is almost burned into my memory the ip is 192.168.1.1, subnet mask 255.255.255.0 Before I uninstalled arpwatch, the nic was running in promiscuous mode, which I thought may cause problems, but uninstalling it and the nic no longer being in promisc. had no effect.

I noticed NOTHING was enabled in the modules.conf file and everything was denied in the hosts.deny file by default upon installation. I chose to install the "All-in-one" package including a firewall, etc. I think the software comes totally locked down and you have to know where to go in every little corner of this flavor of linux to open it up. I've never heard of Red Hat or Mandrake being that difficult.

I've also had lots of wierd issues... every other reboot it won't recognize my nic (and it's a 3COM 3c905b-tx), the keyboard occasionaly locks up, especially in xwindows, and sometimes the whole system locks up. At this point, with a Mandrake CD in hand, I think I'm gonna bring the hammer down. So this thread is a moot point unless anybody wants to continue speculation.

Thanks for the reply, Jeremy!!!
 
Old 01-17-2001, 10:29 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,787

Rep: Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579
When you get a chance post the full output of route and ifconfig. Also check to make sure that the default firewall rules didn't block icmp packets.
 
Old 01-17-2001, 10:56 PM   #7
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
I sure will, but could you tell me where to check the default firewall rules. I looked everywhere and couldn't find anythind that had to do with the firewall--i was grepping entire directories at a time for firewall

thnx!
 
Old 01-17-2001, 11:02 PM   #8
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,787

Rep: Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579Reputation: 3579
It depends on what firewall you are using. If it is ipchains the you type "ipchains -L". If you have a different firewall let me know.
 
Old 01-18-2001, 12:59 AM   #9
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
I came home to find it locked up again. I rebooted and it just hangs when it's trying to load mouse drivers. As curious as I was myself to see what the firewall config was, I'm installing Mandrake now But don't worry, I'll probably have problems with this too
 
Old 01-18-2001, 03:22 AM   #10
balforth
LQ Newbie
 
Registered: Jan 2001
Posts: 8

Original Poster
Rep: Reputation: 0
Wow. That's all I have to say. IMMEDIATELY after running through the install of Mandrake and rebooting I was able to ping my win2k box and vice versa. It seemed all down hill from there. I installed my 2nd nic, PPP, and my PPPoE client and had my ADSL up and was crusin the web all within an hour of beginning the Linux install! Now I just have to figure out that darn masquerading! I have a howto, but it involves unpackin the kernel, which the tar file doesn't seem to be on my drive.

Anyway, maybe Tubolinux is good if your a pro, but I wouldn't recommend it for somebody who just wants to install Linux and start havin fun!
 
  


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
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 03:39 PM
TurboLinux Donald_McM Linux - Distributions 1 06-22-2005 07:08 PM
turbolinux laxmichawla Linux - Newbie 0 02-18-2005 03:09 AM
Thanks Turbolinux concoran Linux - General 3 08-21-2002 01:33 AM
turbolinux 7 ronss Linux - Distributions 3 05-22-2002 03:12 AM

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

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