LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-16-2004, 11:46 AM   #1
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Rep: Reputation: 15
internet sharing & samba problems


both internet sharing an samba up and running on linux,
it all looks fine, but my windoze don't even notice there's a server around ...
not even a ping gives result.

The situation:
Server: Mandrake 10.0
eth0: internet
eth1: LAN
via internet sharing wizard everything should be up and running.
network: hub

After 3 days of searching for info on the net and trying everything
I found, nothing seems to help.

I'm getting rather desperate ...
Samba seems to have the same problem.

Does something ever go smoothly on a linux ?
Yup, I'm new to this ...
 
Old 08-16-2004, 12:20 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
you can't even ping the server? what kind of firewall settings do you have on the linux side? how about the windows side?
 
Old 08-16-2004, 12:44 PM   #3
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
I made the firewall inactive in the control centre (linux)
the windoze have no firewall at all ...

by the way, I tried a lot,
but what ip address should I ping ?
192.168.0.0
192.168.0.1
127.0.0.1
...
?
 
Old 08-16-2004, 01:42 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
but what ip address should I ping ?
what's the ip address of the gateway?
 
Old 08-16-2004, 01:51 PM   #5
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
well,
where do I find the gateway address ?

don't forget I'm totally new to linux ...
 
Old 08-16-2004, 01:59 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
open a terminal, su - to root then issuethe following commands

ifconfig -a

and

route -n

and

iptables -L

copy and paste the results here.
good luck.
 
Old 08-16-2004, 02:10 PM   #7
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
eth0 Link encap:Ethernet HWaddr 00:50:BA:EA:6D:1C
inet addr:xxx.xxx.xxx.xxx Bcast:213.118.127.255 Mask:255.255.254.0
inet6 addr: fe80::250:baff:feea:6d1c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9863 errors:0 dropped:0 overruns:0 frame:0
TX packets:10813 errors:0 dropped:0 overruns:0 carrier:0
collisions:1116 txqueuelen:1000
RX bytes:4036872 (3.8 Mb) TX bytes:1470105 (1.4 Mb)
Interrupt:11 Base address:0xd400

eth1 Link encap:Ethernet HWaddr 00:05:5D:84:250
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::205:5dff:fe84:25d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:185 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17291 (16.8 Kb) TX bytes:20442 (19.9 Kb)
Interrupt:5 Base address:0xe400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:398 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30542 (29.8 Kb) TX bytes:30542 (29.8 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 192.168.1.1 255.255.255.0 UG 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
213.118.126.0 213.118.126.43 255.255.254.0 UG 0 0 0 eth0
213.118.126.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 213.118.126.1 0.0.0.0 UG 0 0 0 eth0

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I'm sure you don't mind I blanked out my ip address
 
Old 08-16-2004, 05:17 PM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
from the windows machine what does

ipconfig /all

return, how about

route print

issue those from a dos prompt.
 
Old 08-17-2004, 02:46 AM   #9
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
I'm not using the linux for print server.
The linux server is for anyting that has to do with internet,
that is internet sharing, firewall, and eventually have
apache tomcat 5.0 and postgresql installed.
But I'm not a system engeneer or whatever,
just a programmer (at least that I do well)

ipconfig /all on XP
Host Name pelgrimscsi
primary Dns Suffix
Node Type Unknown
IP Routing enabled No
Wins Proxy Enabled No

Ethernet adaptor Local Area Connection
Connection-specific DNS Suffix
Description 3com blabla
Physical Address 00-A0-blabla
Dhcp Enabled Yes
Autoconfiguration Enabled Yes
Autoconfiguration 168.254.106.102
Subnet Mask 255.255.0.0
Default Gateway

Blanc fields were blanc, blabla means I didn't bother typing over everything

on win 98 it looks the same, differences (of importance) in
IP Address 168.254.238.238
DHCP Server 255.255.255.255

(Never configured manual an ip address there ..)

PeaceDog,
it seems you're handling all my questions here,
if you don't care, what about finding eachother on msn (Kopete it seems to call in Mandrake ...)
or even better, that you receive my IP, passwords and log on remotely to this machine ...
It's only a suggestion.
 
Old 08-17-2004, 02:46 AM   #10
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
But,
if anybody else knows a solution,
please go ahead :+)
 
Old 08-17-2004, 03:49 AM   #11
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
just reading my linux server can't be a dhcp server
if I want it to configure as a web server ...
so whatever solotion comes up, no dhcp server I guess ...
 
Old 08-17-2004, 06:29 AM   #12
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
Please if anybody can help me,
it's day 5 I'm sitting here loosing my mind ...
I'm blocked from doing any work I need to do ....
 
Old 08-17-2004, 06:56 AM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have you tried using a static address on the windows side? go to tcp/ip properties set a static address to match your linux address, i.e 192.168.1.3, netmask 255.255.255.0. from the info here it looks to me like the windows side is at fault.
good luck.
 
Old 08-17-2004, 06:59 AM   #14
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
yes, ofcourse I tried this ...
I'm not new to windows ...

Can you please come online on msn or something ???
I'm really desperate, I'm loosing so much time here ...
 
Old 08-17-2004, 09:33 AM   #15
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 140

Original Poster
Rep: Reputation: 15
I got so fed up with everything I just reinstalled linux mandrake 10.0
and ...
Webmin 10.
so if anyone feels capable:
please come online on msn (pelgrimforever@hotmail.com)
ask for my ip and password for the thing and configure with this
web based admin tool this machine ...

anyone ???
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Sharing internet & file system between Windows98 & Redhat9 cjs_pro Linux - Networking 2 07-15-2004 07:25 AM
Problems -Internet sharing Mandrake & XP Hamid_Son Linux - Networking 0 06-16-2004 04:43 AM
XP, Debian, & Internet Sharing GameboyHippo Linux - Networking 0 10-01-2003 11:34 PM
Internet Connection Sharing and Samba will824 Linux - Networking 5 06-18-2003 05:04 PM

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

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