But for some reason if I reboot and go into into suse 9.3 (dual boot
computer) I have no net access. I have tried to use firefox in linux to
go to 192.168.1.1 to try to log into the router but it says failure to
connect.
I'd give more info, but not sure what else to give.
Please help.
Andrew
Perhaps paste the results of executing: /sbin/ifconfig
That will display the IP address info that the router is giving your
computer (maybe).
Alvin
andrew@p4:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:6D:16:98:DE
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:6dff:fe16:98de/64 Scope:Link
UP 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:0xd400
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:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10042 (9.8 Kb) TX bytes:10042 (9.8 Kb)
andrew@p4:~>
Snip
>>
>
> andrew@p4:~> /sbin/ifconfig
> eth0 Link encap:Ethernet HWaddr 00:03:6D:16:98:DE
> inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::203:6dff:fe16:98de/64 Scope:Link
> UP 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:0xd400
>
> 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:128 errors:0 dropped:0 overruns:0 frame:0
> TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:10042 (9.8 Kb) TX bytes:10042 (9.8 Kb)
>
> andrew@p4:~>
forgot to mention .. as you can see above, my ip is set on the computer
.. the router doesn't set it .
Does ping 192.168.1.1 give a response?
Kind Regards,
Jan Gerrit
<<Snip>>
>
> Does ping 192.168.1.1 give a response?
>
>
> Kind Regards,
>
>
> Jan Gerrit
p4:/home/andrew # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.10: icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 icmp_seq=2 Destination Host Unreachable
From 192.168.1.10 icmp_seq=3 Destination Host Unreachable
From 192.168.1.10 icmp_seq=4 Destination Host Unreachable
From 192.168.1.10 icmp_seq=6 Destination Host Unreachable
From 192.168.1.10 icmp_seq=7 Destination Host Unreachable
From 192.168.1.10 icmp_seq=8 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
9 packets transmitted, 0 received, +7 errors, 100% packet loss, time 8000ms
, pipe 3
p4:/home/andrew #
Hmmm, what does '/sbin/route -n' give?
You should see something like:
alvin@Desktop:~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.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 192.168.5.1 0.0.0.0 UG 0 0 0 eth0
The important ones are the lines that start with 0.0.0.0 and 192.168.5.0
In your case, replace the 192.168.5.0 with 192.168.1.0
Alvin
andrew@p4:~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use face
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.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 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
although on the first line it says 192.168.1.0 ?? shouldn't that be
192.168.1.1 ?? or am I wrong?
> Kernel IP routing table
> Destination Gateway Genmask ...
> 192.168.1.0 0.0.0.0 255.255.255.0 ...
>
<snip>
>
> although on the first line it says 192.168.1.0 ?? shouldn't that be
> 192.168.1.1 ?? or am I wrong?
192.168.1.0 is the network, 192.168.1.1 through 192.168.1.254 are
hosts on the network, and 192.168.1.255 is the broadcast address (all
hosts receive this). The network mask ('genmask' in above listing)
controls this.
It can get complicated but is worth reading about, just so you have a
better understanding. :-)
--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- http://www.project54.com/linux/
Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.8-24.18-default
9:39pm up 8 days 22:25, 13 users, load average: 0.14, 0.27, 0.21
thank you for the responses. although I still don't have access to my
network.
The ip address for the computer is 192.168.1.10
the gateway is 192.168.1.1
the network mask or genmask is 255.255.255.0
these are what the numbers should be.
any other ideas?
Just for kicks, set your computer to DHCP and restart the network service:
$ sudo /sbin/rcnetwork restart
Then verify that you have an IP address using:
$ /sbin/ifconfig
And finally, verify the routing table:
$ /sbin/route -n
I'm just curious to see if you have external access using DHCP.
Alvin
dumb question , how do i set suse 9.3 to DHCP ? I set the ip address and
and stuff .. when i installed the o/s
When in doubt, look at Yast. :)
1. Yast->Network Devices->Network Card
2. Click on Change at the bottom
3. Double click your network card (probably only one choice)
4. Select "Automatic Setup" in the Setup Method section
5. Click the Routing button
6. Erase the entry under Default Gateway
7. Click on "Host Name and Name Server"
8. Put a checkmark in "Update Name Servers and Search List via DHCP"
9. Leave the Host Name and Domain Name what they are. You can select "Change
Host Name via DHCP" if you want, but it's not necessary.
10. Click OK, Next, then Finish
You should be all set for DHCP mode. Then follow the instructions in the
previous post.
Hope this helps,
Alvin
ok here is the info that you asked for.
Shutting down network interfaces:
eth0 device: Linksys NC100 Network Everywhere Fast Ethernet
10/100 (rev 11)
eth0 configuration: eth-id-00:03:6d:16:98:de done
Shutting down service network . . . . . . . . . . . . . done.
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8 done
eth0 device: Linksys NC100 Network Everywhere Fast Ethernet
10/100 (rev 11)
eth0 configuration: eth-id-00:03:6d:16:98:de
eth0 (DHCP) . . . . . no IP address yet... backgrounding.
eth0 IP address: 192.168.1.10/24
waiting
Setting up service network . . . . . . . . . . . . . . done.
andrew@p4:~> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:03:6D:16:98:DE
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::203:6dff:fe16:98de/64 Scope:Link
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:53 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:0xd400
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:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5732 (5.5 Kb) TX bytes:5732 (5.5 Kb)
andrew@p4:~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
andrew@p4:~>
forgot to add, i did set it to dhcp mode
*grumble* helps if i don't try to post and then run to work.
I should have added. I don't have net access yet. The output in the
previous post was posted in hopes that someone can determine what is wrong.
I created the above listed post and thanks to Kevin Nathans and Alvins
help , they gave me several ideas on getting my computer to access the
LAN and the internet. But never quite got there.
I am creating this new thread because I fear that if I post to that
thread no one would see it.
What I have done since my last post is :
set suse 9.3 linux to DHCP and directly hooked the computer into the
cable modem, this way I could try see if it was a problem with the
router or not. but sadly when I typed in
sudo /sbin/rcnetwork restart
it failed to get a new IP address
Here is a piece of information that wasn't posted before. (in the
previous thread) that may be of interest.
When the lightning took out the cable modem and the router, I obviously
had to replace them. When I first booted into windows xp I had to go to
the control panel into the network connections and tell windows xp to
"repair this connection", before I had it repair the connection I had no
net access.. afterwards I did. I made no changes in terms of ip address
or dns entry or gateway. I think that the same needs to be done in
linux. I just have no clue as to what I would need to do to get it done.
Any thoughts , suggestions, ideas?
I do appreciate any help
Andrew