Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page suddenly it seems, samba and net connection lost?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 01-28-2003   #1 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
suddenly it seems, samba and net connection lost?

I have a red hat gateway machine on a cable modem - on the home lan is a win98 machine happily connecting to the net and also reading the gateway via samba - I added another red hat machine to the lan - I accidentaly turned of the gateway!! Whlst the gateway was off, I got sambe connecting from the new red hat machine to the win98 box. When I turned the gateway back on, I was able to get through to the net from the new linux box - however now, I cannot get onto the net now from the new linux box and also the win98 sees the gateway with samba but no longer sees the new linux box. When I ping the new linux box from the win machine that works but pinging the win machine from the new linux does not?? The resolv.conf file on the new machine still has the correct gateway and dns addresses in it - can anyone shed a light?? Running find computer from win does find the new linux box, but the net neighbourhood does not now find it.

thanks.
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 01-28-2003   #2 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
Can you describe your network setup more thoroughly, such as IP addresses, subnets, etc.? What other protocols do you use (such as DHCP or so)?
Dolda2000 is offline   Reply With Quote
Old 01-28-2003   #3 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
thanks for reply - the network is running on just TCP except that the internet facing NIC is on DHCP and gets the IP from the ISP.

I have all the machines on the LAN in the 192.168.1 range - the machine that is new has 2 NICS so that eth0 can be attached to the internet if this machine needs to take over from the web server - at first I did set up eth0 on this new machine with DHCP but have temporarily assigned it a local LAN IP so that it does not hang about too long on boot when it waits for DHCP till it fails - so I have put seperate IP addresses of the 192.168.1 network on eth0 and eth1 on the new machine but only plugged a cable into eth1.

The gateway is the current web server and the DNS are those supplied by the ISP who supply my cable connection.

A 10MB hub is used to connect the LAN machiines - all machines on the LAN have the same gateway, DNS servers and workgroup and network range.

Michael.
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 01-28-2003   #4 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
You say that you can ping the linux box from the windows box, but not the opposite. Do you get an error message then, or do the pings just time out? Do you ping the IP address or the network name of the windows box?
Dolda2000 is offline   Reply With Quote
Old 01-28-2003   #5 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
The ping from the win machine gets through though not alwasy the first ping, the ping from the linux box just doesn't give any messages till when I do the <CTRL> C it shows the end script that loss was 100%

I shut the machine down and plugged the cable into eth0 on the linux box - the result was that the machine showed up in windows explorer but would not let me access it even so - ping did not work either way? the linux box did successfully access the internet via eth0 - so I ckecked the NIC cfg files in network-scripts and saw that in fact I have the same configuration for each card - I left that for now and switched the machine off again and put the cable back into eth1 - this time after boot, the machine showed up still in win explorer and was accessible, but ping still did not work from the linux machine, and internet connection/browsing did not work from eth1 - I rebooted and this time, the machine no longer shows up in win explorer at all!

I tried ping with both IP and machine name, with the gateway/server, the ping worked with both ip and name from the local linux machine in question but ping from this machine to the win box still did not work with either IP or name ping, but the hosts file does have the details.

Michael.
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 01-28-2003   #6 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
So you can ping the gateway from the new linux machine, but it cannot ping the windows one?
This is pretty weird... I'm almost guessing it's an arp problem or something.
All three machines were connected through a hub, right? Not a switch? If it is a hub, download some network monitoring software to the gateway (I recommend ethereal) and listen on the internal interface (remember to listen in promiscuous mode), and see which machine that misbehaves.
Dolda2000 is offline   Reply With Quote
Old 01-28-2003   #7 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
Thanks for the suggestion - I have found that I have Ethereal on the server system and have downloaded the documentation which I shall cast my eyes over before running the program - I can probably not get down to actually doing the tests till later in the week, so I hope to post my results in a few days.
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 01-31-2003   #8 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
The problem re samba seems to have been to do with me having unwittingly set both eth0 and eth1 to the same ip address - now I have set the eth0 to dhcp as it would have to be if in use as a web server, and also disabled eth0 so it stays dead till I enable it if ever needed - now sambe works fine - however I can still not ping from this linux machine to a win machine on the lan though I can ping another red hat machine, and the win machine can ping both red hat machines - both linux machines can ping each other, neither linux machine can ping the win machine - I wondered if it was due to something with the firewall on the win machine (sygate) but have not found anything there yet.

Michael
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 02-04-2003   #9 (permalink)
Just Joined!
 
Join Date: Jan 2003
Location: Cambridge, England
Posts: 21
When I add another win machine to the LAN, and ping that from the linux box(es), the ping works fine - I am assuming at the moment that the reason that ping does not work to the win machine in question is in fact just that the firewall it is running (sygate personal edition) is stopping a response, and so far I have not figured out how!! But machines without the firewall will ping fine and the 'don't ping me' machine can ping all the others. so basically it just looks like me not figuring the sygate firewall.

Michael.
__________________
Hate the Sin, not the Sinner.
mpplf2003 is offline   Reply With Quote
Old 02-04-2003   #10 (permalink)
Just Joined!
 
Join Date: Jun 2002
Location: Lindenhurst, NY
Posts: 35
Send a message via AIM to tithefug Send a message via MSN to tithefug Send a message via Yahoo to tithefug
Yeah, when I moved up here from FL, I installed my linux box on my network with a router. My mom's computer had McAfee Firewall running and it basically locked it all out from inet access. I couldn't do anything with it. I removed the firewall, and it worked fine. Besides, with the router, it was already behind a NAT firewall.

Tithefug
__________________
And crawling on the planet\'s face;
Some insects, called the human race;
Lost in time, and lost in space;
And meaning.

-The Criminologist (RHPS)
tithefug is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 11:04 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0