LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-07-2004, 10:21 PM   #1
jcluney
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
why can't suse 9.1 connect to the internet


i have a slackware router and a windows xp client and a suse 9.1 client the windows xp has a internet connection and can see the internal network i have a suse 9.1 pro box can that see the internal network but can not get on the internet i have static ip addresses assigned gateway 192.168.0.1
windows 192.168.0.2 suse 192.168.0.3 can some one please give me some help
 
Old 08-07-2004, 10:56 PM   #2
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 307

Rep: Reputation: 39
connect problem

you may need to enter the DNS that your ISP provides in /etc/resolv.conf

On my system /etc/resolv.conf looks like this

nameserver 111.222.333.444

(of course yours will have other numbers)

without a nameserver in this file, you will have exactly your problem.
 
Old 08-08-2004, 08:52 AM   #3
thk33
LQ Newbie
 
Registered: Aug 2004
Location: greece
Distribution: Suse Pro 9.3
Posts: 23

Rep: Reputation: 15
see the proxy settings of xp that connects to internet..

Last edited by thk33; 08-08-2004 at 08:54 AM.
 
Old 08-13-2004, 02:49 PM   #4
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 677

Rep: Reputation: 30
hello would it be possible for some 1 to tell me how to see my proxy settings in redhat 9 please thanks
nige
 
Old 08-13-2004, 03:14 PM   #5
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
jcluney run the ics wizard on xp it will leave the ip address of 192.168.0.1 as default add this as ur dns/gateway for the suse machine and set that ip address to 192.168.0.2 subnet 255.255.255.0. Also make sure that ur firewall in xp isn`t set to high (or if u have an installed other firewall make sure u add your suse ip as an allowed address.
 
Old 08-13-2004, 03:27 PM   #6
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
master - do u mean the network proxy? are u connecting to another machine or are u connecting directly to the internet? I`m not quite sure what u mean :-)
 
Old 08-14-2004, 07:45 AM   #7
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 677

Rep: Reputation: 30
hello what i mean is im running redhat 9 now i have just installed suse 9.1 pro alongside my redhat but i can not get suse to connect to the internet "ie" through konqueror my web browser now i know suse has detected my ethernet because it says so in the controll panel i just cant view web pages on the net i get an error message saying"no valid proxy config defined" so basically i havent got a clue what to do any help appreciated thankyou
 
Old 08-14-2004, 09:01 AM   #8
LinuxPimp
Member
 
Registered: Aug 2004
Distribution: Ubuntu Server Gutsy
Posts: 43

Rep: Reputation: 15
Same same

Hi all

New here. NIce to be here.

I have a very similar problem, in fact. i was about to post and ask :-)


I have 2 SuSE 9.1 machines in a home network. The second being a laptop is configured to recieve an IP via dhcp.

This works fine, the problem is that i still can't get to the WWW via the gateway which is also the dhcp server. Attached is my dhcp.conf as well as the output of route. I manage to ping, shh etc. to the gateway, but cannot see the WWW.

10.0.0.1 is the gateway

How important is the domainname in the scenario as they sometimes differ?

This is not a dns issue as i have it configured via mu dhcp server and i can't reach www using IP either :-(

I am 99% sure the problem is server side as when booting from my "Other O$" partition, just to test of course, i don;t get the WWW connection either.


Thanks

LinuxPimp

route on client:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0


dhcp.conf:

# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "laptopdomain.com";
option domain-name-servers 192.115.106.31, 192.115.106.35;
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;

# if you do not use dynamical DNS updates:
#
# this statement is needed by dhcpd-3 needs at least this statement.
# you have to delete it for dhcpd-2, because it does not know it.
#
# if you want to use dynamical DNS updates, you should first read
# read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt

ddns-update-style none;
ddns-updates off;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).

log-facility local7;
next-server 10.0.0.1;

# A slightly different configuration for an internal subnet.

subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name-servers 192.115.106.31, 192.115.106.35;
option domain-name "laptopdomain.com";
option routers 10.0.0.1;
option broadcast-address 10.0.0.255;
range 10.0.0.2 10.0.0.5;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

host mylaptop {
option subnet-mask 255.255.255.0;
hardware ethernet $MyMAC;
server-name "server.homedomain";
}
 
Old 08-14-2004, 10:30 AM   #9
akaranta
LQ Newbie
 
Registered: Aug 2004
Location: Helsinki / Finland
Distribution: SuSE
Posts: 1

Rep: Reputation: 0
I also have a very strange problem with network connection w/ SuSE 9.1 (Pro): my machine won't get itself an ip address via dhcp. Why is this strange? Because I installed the os via ftp (and got the ip for the machine via dhcp during the install boot process) and the network connection worked fine until the os was finally installed and I tried to start surfin'. = (

When I tried to restart the network interfaece:
ifdown-dhcp eth0
ifup-dhcp eth0
the machine thought about it for a while and then said "no ip address yet, backgrounding".

The problem is definitely with the os - I tried the same network cable on my other laptop w/ Win XP and it worked fine (also w/ dhcp).

The machine is Dell Latitude C600 w/ 3com 3c556 network card. I have successfully had SuSE 8.0 on it for two years now with no problems. Well, not with the network connection anyhow.


Any ideas?

-Antti-
 
Old 08-14-2004, 11:24 AM   #10
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
The 3com products based on 3c59x module are giving a lot of problem with the latest kernels

I have read a lot and found different advise
1)
disable kudzu and
use the 3com dos utility 3c5??xcfg to change to speed of your nic to a fixed speed
2)
set the irq of the nic in the bios of your computer to 5 7 9 or 11
3)
insmod 3c59x debug=5
 
Old 08-16-2004, 09:56 AM   #11
LinuxPimp
Member
 
Registered: Aug 2004
Distribution: Ubuntu Server Gutsy
Posts: 43

Rep: Reputation: 15
For the problem where hosts ping, but no www:

Ok, problem solved. You need to configure iptables on the gatewar machine. I'm not sure how to do this with RH, but a quick google search for "iptables HOWTO" will help.

I ran YAST >> firewall on my SuSE 9.1 gateway and now my network is fully configured and all the hosts can see the WWW.



LinuxPimp

Last edited by LinuxPimp; 08-16-2004 at 09:57 AM.
 
  


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
Cannot connect to internet with suse 9.2 randon SUSE / openSUSE 2 08-08-2005 12:10 PM
Cannot connect to internet with Suse 9.2 HULLU Linux - Networking 5 11-19-2004 11:26 AM
[SuSe 9.0] Can't connect to the internet Khazar Linux - Newbie 15 11-08-2004 09:10 AM
Can't connect to the Internet thru SuSE neelank Linux - Newbie 7 10-24-2004 08:37 AM
Can't connect to internet with SUSE 9.1 Yumemiru Linux - Networking 3 07-24-2004 03:48 PM

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

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