LinuxQuestions.org
Review your favorite Linux distribution.
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 03-31-2004, 06:20 PM   #16
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47

Wow. This time is hot.

Read just the end of my post and try your ping again. Turn off your firewall. Get it working. Turn it back on.
 
Old 03-31-2004, 06:33 PM   #17
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by vectordrake
What are you trying to do? Are you trying to access the other machine(s) or are you trying to get the Slack box on the internet? If internet access is what you want, then you need a nameserver listed. Without one, you'd have to type the IP address of every website in your browser to get it to resolve.

Easy:

just edit /etc/resolv.conf by adding this entry
Code:
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP of your ISP's nameserver (or you could try your ICS gateway as well).

Barring any firewall issues, you should get websites to resolve in your browser, etc.

PS - good idea to diable Norton and re-enable it when you're actually connected properly.
I hate to sound dumb, but the nameserver is just the DNS server, right? And wouldn't I have to be able to atleast ping the host to be able to access the internet? I tried using the host as the nameserver before with no luck.

I want to be able to access the other machines (which I'm going to have to do with samba after I can atleast get a ping, right?) and access the internet.. I already have a lot of shared stuff on the host right now that would be nice if I could get to linux (drivers, tarballs, etc)

I'll hook up the slack box and edit my resolv.conf and post back with some results.
 
Old 03-31-2004, 06:57 PM   #18
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
As for the reply of route -n, here it is.
Code:
Destination    Gateway        Genmask            Flags     Metric  Ref  Use  Iface
192.168.0.0   0.0.0.0           255.255.255.0   U            0         0         0  etho0
127.0.0.1       0.0.0.0           255.0.0.0           U            0         0         0  lo
0.0.0.0           192.168.0.1   0.0.0.0               UG          0         0         0  eth0
Well, it's not all lined up because I can't copy and paste, I have to type it out.. lol.. anyways, you get the point.. Some of that looks really wrong, just to me though.. Such as the first Destination uses gateway 0.0.0.0, that seems odd, then the last 0.0.0.0 uses 192.168.0.1..? Could be right, I don't know for sure. Any thoughts?
 
Old 03-31-2004, 06:58 PM   #19
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by FLOODS
I hate to sound dumb, but the nameserver is just the DNS server, right?
Yes
Quote:
And wouldn't I have to be able to atleast ping the host to be able to access the internet?
Yes
Quote:
I want to be able to access the other machines (which I'm going to have to do with samba after I can atleast get a ping, right?)
Yes
 
Old 03-31-2004, 07:08 PM   #20
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
From the Slackware network config page, I found this sample rc.inet1 config. Its beautifully commented. Perhaps you may want to edit the file manually instead of relying on netconfig.
 
Old 03-31-2004, 07:26 PM   #21
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Edited my /etc/rc.d/rc.inet1.conf file and now it looks something like..

IPADDR[0]="192.168.0.2"
NETMASK[0]="255.255.255.0"
NETWORK[0]="192.168.0.2"
GATEWAY[0]="192.168.0.1"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

and still no luck
 
Old 03-31-2004, 07:30 PM   #22
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
NETWORK[0]="192.168.0.2"

Change to 192.168.0.0

USE_DHCP[0]=""

add the word no inside the quotes:
USE_DHCP[0]="no"

see what happens. Are you doing this with Norton Firewall turned off?
 
Old 03-31-2004, 07:36 PM   #23
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Changed it to that and no luck :\

Is there something I have to do to restart the net services? Or something to actually start them up..? I tried reading the kernel messages when starting up and saw inetd.. found it in /usr/sbin and tried running it from there but don't know if it did anything or not.
 
Old 03-31-2004, 07:36 PM   #24
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
BTW, if you wanna see if the internet is accessable from your Slack machine through the gateway, try to ping 216.109.117.107 That's www.yahoo.com (I checked for you). If yes, then the DNS server just needs adding to /etc/resolv.conf and you'll be done.
 
Old 03-31-2004, 07:37 PM   #25
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
try ifup eth0 or ifconfig eth0 up
 
Old 03-31-2004, 07:38 PM   #26
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Been trying to ping google (216.239.39.99) and didn't get anything, just tried yahoo and didn't get any luck. All Destination Host Unreachables. :\

EDIT: no luck with ifconfig eth0 up (couldn't ping etc afterwards) and ifup came back with command not found.

Last edited by FLOODS; 03-31-2004 at 07:43 PM.
 
Old 03-31-2004, 07:51 PM   #27
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
what does ifconfig give you for a result?
 
Old 03-31-2004, 07:53 PM   #28
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
shhot. try this too. We got too concentrated on the linux box. Try to ping the linux machine from the XP gateway as well. If the linux machine shows up, there is either a firewall problem (Winupdate enables the ICF sometimes) or a config problem with the Slack machine (but it looks okay)
 
Old 03-31-2004, 07:55 PM   #29
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
When I run ifconfig eth0 up it just starts eth0 (doesn't say anything, but I know it's doing it back there) and just ifconfig gives me the loopback and eth0.. eth0 looks like this

Code:
eth0
       Link encap:Ethernet  HWaddr 00:08:A1:22:7A:2A
       inet addr:192.168.0.2 Bcast:192.168.0.255 Mask 255.255.255.0
       UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
       RX packets:15 errors:0 dropped:0 overruns:0 frame:0
       TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:100
       RX bytes:1855 (1.8Kb) TX bytes:1890 (1.8Kb)
       Interrupt:10 Base address:0xec00
 
Old 03-31-2004, 08:05 PM   #30
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
No dropped packets. Its communicating. Seems dumb, but try
Code:
route add default gw 192.168.0.1 dev eth0
and see if that was the problem (shouldn't be)
 
  


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
Slackware as gateway (ICS) for WinXP c31c Slackware 3 11-02-2005 02:33 PM
ICS w/ Slackware and WinXP Machine GML3G0 Linux - Networking 3 06-19-2005 01:23 AM
Windows XP as ICS host & Linux as client connection problem ! hemanfan Linux - Networking 3 06-08-2005 04:29 PM
Getting ICS to work with a WinXP host, with satellite internet darkblade Linux - Networking 3 08-17-2004 05:26 PM
Win2K ICS host and Linux client raypen Linux - Networking 3 03-18-2003 12:58 PM

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

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