LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Zenwalk (https://www.linuxquestions.org/questions/zenwalk-75/)
-   -   Trouble with Zenwalk core internet connection setup (https://www.linuxquestions.org/questions/zenwalk-75/trouble-with-zenwalk-core-internet-connection-setup-603161/)

AustinMarton 11-28-2007 11:20 PM

Trouble with Zenwalk core internet connection setup
 
Hi there,

I've put together a little box to test parallel port devices as my laptop doesn't have one. It's a 233MHz with 266Mb ram and I have successfully installed Zenwalk Core 4.2.

I want to connect to the internet through our home network. We have an ADSL modem (D-Link 302G) plugged into a hub, and cables coming out of the hub running to each computer.
On my other machines I beleive I just use DHCP and it automatically works, or I set the ip of the computers to 10.1.1.*. My hub(or modem I guess) is 10.1.1.1. For example the windows box I'm on now ifconfig gives:
Code:

IP Address: 10.1.1.3
Subnet Mask: 255.0.0.0
Default Gateway: 10.1.1.1

I've spent a while fiddling with networkconfig and netconfig in Zenwalk. I've got to the stage when I can ping and be punged by other computers on the network (10.1.1.3 etc) but when I try to ping http://www.google.com or anything else along those lines it just gives me the ol' "destination host unreachable".
The current configuration is:
Code:

Hostname: abox
Domain name: mshome
IP Address: 10.1.1.9
Netmask: 255.0.0.0
Gateway: 10.1.1.1

Pleeeease help me out anybody! I've been trying different things for days with no luck and I really want to start installing software! (need to use netpkg)

Cheers,
Austin.

gapan 11-28-2007 11:59 PM

What does you /etc/resolv.conf say? It should be something like:
Code:

nameserver your.router's.ip.here
or point to another dns provider but my router's ip is what I usually use.

AustinMarton 12-01-2007 02:00 AM

My /etc/resolv.conf said
Code:

search mshome
I changed it to
Code:

nameserver 10.1.1.1
as you suggested but it doesn't seem to have helped.

I'm not sure what I'm meant to set for my domainname? just my router IP?

guth 12-01-2007 05:31 AM

If you really want to be sure, you can try dns server from opendns.org

AustinMarton 12-02-2007 02:00 AM

Hi again,

Guth, I'm just checking out OpenDNS but I don't think that will solve my problem, as I can't ping www.google.com, nor can I ping the IP of www.google.com when I get it off a different computer.

Does it matter what I set domainname to? Theres no way for me to set a domainname on my modem/router.

I can't understand what I'm doing wrong. :S

guth 12-02-2007 07:20 AM

the idea about modifying your nameserver is to avoid dns problems, but if you tried with an IP already ....

gapan 12-02-2007 04:31 PM

What if you tick all three "Use DHCP" boxes in xnetconf?

AustinMarton 12-13-2007 01:08 AM

Hey thanks everyone,

It just ended up working the next time I restarted, just keeping the same settings initially described. I could ping googles ip straight away, but the DNS wasn't working so I entered the ips from the website Guth described into my resolv.conf and it's all go, I can netpkg and browse with lynx happily!

Cheers,
Austin.


All times are GMT -5. The time now is 12:10 AM.