Link to home
Start Free TrialLog in
Avatar of allelopath
allelopath

asked on

Internet not working on new installation

I have just installed OpenSuse 10.3 on an HP Paviliton laptop.
The installation worked except for the internet conneciton.
It recognizes the ethernet and wireless cards:
Hewlett-Packard Company RTL-8139/8139C/8139C+
Hewlett-Packard Company BCM4318 (AirForce One 54g) 802.11g Wireless LAN Controller

The internet connection with my other computers is working
I have a network setup in which each computer or printer on the network is 192.168.1.x.

What do I need to do?

ASKER CERTIFIED SOLUTION
Avatar of Kamran Arshad
Kamran Arshad
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of allelopath
allelopath

ASKER

The ip addresses are dynamically assigned. I'm not sure exactly how this works. I think the modem/router or ethernet switch does this.
I have not edited resolv.conf.

# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:14:A5:7B:14:FB
          BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x8000

eth1      Link encap:Ethernet  HWaddr 00:16:D4:00:94:D1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3898 errors:0 dropped:0 overruns:0 frame:0
          TX packets:660 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:402967 (393.5 Kb)  TX bytes:80341 (78.4 Kb)
          Interrupt:22 Base address:0x6400

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:308 errors:0 dropped:0 overruns:0 frame:0
          TX packets:308 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:19092 (18.6 Kb)  TX bytes:19092 (18.6 Kb)

 # nslookup yahoo.com
Server:         192.168.1.1
Address:        192.168.1.1#53

Non-authoritative answer:
Name:   yahoo.com
Address: 66.94.234.13
Name:   yahoo.com
Address: 216.109.112.135
 # cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:   21468
#
### END INFO

search domain.actdsltmp


nameserver 192.168.1.1
nameserver 63.81.160.11

I do know how to turn off iptables

In resolv.conf enter the 192.168.1.1 IP :

#vi /etc/resolv.conf

nameserver 192.168.1.1








and then save the file.


resolv.conf already contains:
nameserver 192.168.1.1
nameserver 63.81.160.11
(says it was modfied by NetworkManager)
ok that is nice then.. What is the output of

#netstat -rn
192.168.1.0    0.0.0.0       255.255.255.0    U 0 0 0 eth1
127.0.0.0        0.0.0.0       255.0.0.0            U 0 0 0 lo
0.0.0.0            192.168.    1.0 0 0.0.0.0       UG 0 0 0 eth1
 
hmm.....seems ok.. so are you trying to browse or download something and what is the error?
Just trying to browse.
Btw, this works:
ping www.google.com
so the connection is there.
I don't know what happened, but it started working, I can surf now.