Conection but no internet with laptop and router

hi

I have SuSe Linux 12.1 installed on a old ACER aspire 1680 and i conect it to a Simens gigaset SE551 WLAN DSL/Cable Router with a cable.
Now i try to give all infos about the setup.
I have a Cablecom (A internet provider in Switzerland) modem atached to it is a Simens SE 551 Router (With cable connection).
At the Router i have one Laptop Samsung with windows 7 64bit, this one connects to internet without problem.
I have a second Laptop from ASUS also with windows 7 64bit, this one conects through te router to the internet without problem.
And i have this ACER ASPIRE 1680 Laptop which did connect with no problems to the internet, through the router with XP pro.
Now i did install serval times SuSe Linux 12.1 on the Acer aspire Laptop, i did download the DVD serval times and the MD5 checksum was all the time correct, and i did Install the OS from different burned DVD’s and it was all the time done without problems!

If i plugin the cable to the ACER Laptop, SuSe tells me that it found a cable connection (near to the clock at the right buttom of the screen), I also managed to open a console and to elevate me to the admin mode (i guess its called “root”), from there i did type “ifconfig”, “ifconfig” said that i have a IP from the Router.

In the Router i did apply a fix IP to all the Machines with known MAC’s, the Router is on 192.168.101.96/255.255.255.240.
In SuSe 12.1 i can see with IFCONFIG that i got a IP on eth1 to my MAC XX:XX:XX:XX:XX:XX and a inet address as 192.168.101.104 as applied in the router, also a Bcast is found at 192.168.101.111 as expected in the 255.255.255.240 Mask with is also dedected as it is.

So to me it seems as the connection from router to laptop is well done!

Now when i open Firefox it cant find any server, no google, no opensuse.org and even not the router at 192.168.101.96!
If i disable the Firewall which i found through a searchfield in the startmenu it canges nothing!
I still am not able to conect to google.com.

If i PING to the Samsung Laptop with windows 7 64bit at 192.168.101.98 i get replies (more or less very fast also with enabled Firewall).
If i PING to google at 173.194.73.147 i get “Network is unreachable” (also with disabled Firewall)
If i PING to the router it ask me to use -b to ping the broadcast address, if i do so it says that it is pinging but nothing happens, if i stop with CTRL+C then a massage appears with 100% packet loss.

now what is wrong in this setup? what can i do?
i have no idea about Linux, i just thoght to give it a try on my old Acer laptop, so if there is a idea to silve the problem please keep it simple, tell me the exact commands to use, i dont know any commands, all the commands i used now i had to collect on google with the other laptop.

i also did try to connect with the Acer Laptop directly to the cable modem and this did work, i got the first time from SuSe 12.1 to opensuse.org, but again with the router between cable modem and SuSe laptop it cant reach any thing but ping local machines

what is the difference between windows and linux connections to a router?
how to fix that

so maybe again in short

Linux-Laptop -> Router -> Cablemodem -> Internet FAIL
Linux-Laptop -> Cablemodem -> Internet OK
Linux-Laptop -> Router FAIL
Linux-Laptop -> Rourer -> Win7-Laptop OK

before i had all 3 and even more Laptps on the same router and all had connection to the internet but since i replaced XP with SuSe i dont get to the internet with the SuSe OS

DHCP seems to work as IFConfig tells me what i expect from the router

it is totaly crazy … and after three days of setting up and reseting up and changing every thing and back and again reverse i get crazy too!

maybe some one can help please?

Maybe i have to add…
BCM4401 100Base-T (Firewally says eth1) (In Yast2 Networksettings IP-Address DHPC, But not selectable)
in Yast 2 i see PRO/Wireless 2200BG [Calexico 2] Network Connection (Firewall says eth0) (In Yast2 Networksettings IP-Address DHPC, selected and green marked)

i have wireless turned off but i have the same problems if i try with wireless conection
and i think the network cards are correctly dedected too

the same problem seems to appear also on knoppix booted from CD :frowning:

could it be that linux is not so well in networking as windows XP - windows 7

i mean with windows i could conect 4 laptops over the router at the cablemodem to the internet (xp pro + xp pro + win 7 + win 7)
on SuSe and Knoppix i fail totaly (Suse or Knoppix + Win 7 + Win 7 or even only SuSe or Knoppix allone over the router)

is there a error in Linux?
seems as i am limited to windows if i like to use the router … somehow Linux seems to nod understand the router as windows is doing without problems

:frowning:

On 08/18/2012 07:06 AM, Gagel wrote:
>
> the same problem seems to appear also on knoppix booted from CD :frowning:
>
> could it be that linux is not so well in networking as windows XP -
> windows 7
>
> i mean with windows i could conect 4 laptops over the router at the
> cablemodem to the internet (xp pro + xp pro + win 7 + win 7)
> on SuSe and Knoppix i fail totaly (Suse or Knoppix + Win 7 + Win 7 or
> even only SuSe or Knoppix allone over the router)
>
> is there a error in Linux?
> seems as i am limited to windows if i like to use the router …
> somehow Linux seems to nod understand the router as windows is doing
> without problems
>
> :frowning:
>
>
Maybe your networking doesn’t know the way to the internet. Run this
console command and post back what you get:
/sbin/route

e.g. here’s what I get:

john@tumbleweed121:~> /sbin/route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
default         192.168.6.1     0.0.0.0         UG    0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
link-local      *               255.255.0.0     U     0      0        0 eth0
192.168.6.0     *               255.255.255.0   U     0      0        0
eth0
john@tumbleweed121:~>

which tells me my network knows the path to the internet is through the
device at 192.168.6.1 (my router). What do you get?


Regards
swerdna

if i type route i get…
Kernel IP Routing table
Destination Router Genmask Flags Metric Ref Use Iface
192.168.101.96 * 255.255.255.240 U 1 0 0 eth1

that seems to be the problem or a part of it at least :smiley:

also the iface entries are at my side at the end and not at the begining of line (maybe because i use a german SuSe)

i cant see any thing else, no default, no loopback, no link local or anything else then 192.168.101.96
but the Laptop IP applied by the router (at 192.168.101.96) should be 192.168.101.104 as shown by the IFCONFIG command

how can i fix that now? :smiley:

when i try to change the route stuff in the networkmanager (right buttom near the clock) it never remembers my settings, i mean i dont exactly know what i should enter there but i did try to apply my router IP as the gateway and every time when i reopen the settings there it is empty again! so maybe there is a bug in this networkmanager

now i did try to apply some settings with yast2>networksettings, i had to switch to the traditional method to do so and to use “IFUP”
i did deactivate all IPv6 stuff and restart the system as it told me
and i did also activate the wireless conection now, with the hardware-button
then i did change from DHCP IPv4+IPv6 to DHCP+ZeroConf (i dont know if this is good or not but now in the overview of the devices it tells me “BCM4401 100Base-T DHCP+AUTOIP” and “PRO/Wireless 2200BG [Calexico2] Network Connection DHCP+AUTOIP”, so i guess AutoIP sounds good)
then i did try to set some routing stuff again…

192.168.101.104 (my cable IP served by the router through MAC identification),
Gateway 192.168.101.96,
Genmask 255.255.255.240,
Device eth1

192.168.101.105 (my wireless IP served by the router through MAC identification),
Gateway 192.168.101.96,
Genmask 255.255.255.240,
Device eth0

and there is also a option to enter the standart gateway…
Gateway 192.168.101.96,
Device - (i could also use “eth0”, “eth1” or “lo” but i thoght the “-” is maybe general)

now if i type route i get…
Destination Gateway(in the german version of Route its called Router) Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.101.96 * 255.255.255.240 U 0 0 0 eth0
192.168.101.96 * 255.255.255.240 U 0 0 0 eth1

still i have no “default” entry
still no * is replaced with my router IP 192.168.101.96
and even my cable ip 192.168.101.104 at eth 1 or wireless ip 192.168.101.105 at eth0 is not listed (maybe that is OK maybe not)

and still i cant enter the internet through firefox, no google and also not the router setup with the router IP 192.168.101.96
ping to the other laptop at 192.168.101.98 is still working
ping to google or the router is failing

what should i do now?
how do i get this DEFAULT entry as in your ROUTE result above?
how i get to google from SuSe through my router over my cable modem?

just tell me where i have to edit what manualy, i will try it!
or better what do i have to change or install so that such stuff gets automaticaly dedected as in windows?

now i did reboot and type route and i get…

Destination Gateway(in the german version of Route its called Router) Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo
link-local * 255.255.0.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth0
192.168.101.96 * 255.255.255.240 U 0 0 0 eth1
192.168.101.96 * 255.255.255.240 U 0 0 0 eth0

but still no “default”
ping to other windows laptop works well but not to the router or to google
and still no internet while firewall is turned off

:frowning:

i realy guess i ned that “default” entry? how can i do that?

have you tried setting the default routing entry by hand?
something like: # route add default gw {IP-ADDRESS} {INTERFACE-NAME}

seeing as how you know your routers gateway addr, etc, this should hopefully work.

My default entry for reference (this is for wireless currently):
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0

SIOCADDRT: cant find a matching process … is the response on any “route add” try in every combination of ip('s) and interface('s)

i guess linux just cant handle old or maybe cheep hardware … must be a OS for a rich server administrator from novel or so…
definitifly not useable to me …
my wireless is dedected and seems to be connected to the router but i cant get into the internet,
my cable connection to the router is also dedected and seems to work but i cant get into the internet with it,
the network manager forgets my route settings
route add commands dont work
i have no default gateway
yast also cant help me out of that problem
also editings in route config files seem to be correct and anything i change in them makes no change
even disabling acpi=off in some boot settings seem not to work
the only thing that is working is to ping local computers
in windows XP i can access the internet i can ping local computers and even google… seems to be way more mature then linux to me :))

i think i give up the hope … after 4 or 5 days only trying to connect to the internet and reseting up SuSe i think i saw all that Linux can offer me
i cant understand how people can say linux is bettern then windows … after all my problems i even cant remember why i had the idea to give it a try … maybe because over 10 years ago when i had no internet i boght this SuSe package with a SuSe book and maybe because i expected in this time not more from a OS then a nice desktop … now the version may doubled and it consumes more CPU but still no internet and today not because i dont have a modem

ahhh sorry … just a wekk wasted on nothing :frowning:

did you specify “gw” in your command string? i found below in a tcp/ip book available online:


SIOCADDRT: Operation not supported by device

 You omitted “gw” before the routeraddr or omitted  the gateway details completely:


Linux Route Error

route add default gw 192.168.101.96 eth1
route add default gw 192.168.101.96 eth0

the router is at 192.168.101.96, eth1 is my cable, eth0 is my wireless, both thimes SIOCADDRT: Operation not supported by device

and now i edited SuSe to death :))
i set it up now AGAIN… it will take a while because the calculator is not so fast
then i am ready to loose my nerves again :frowning:

Guys… is there something special happening here… ie. NetworkManager preventing manual route table editing? I use the traditional ifup method (enabled from Yast’s network settings) coupled with manual control over wpa_supplicant for wifi.

I’m at a loss, Gagel - hopefully someone will get back to the query about NetworkManager.

In the interim, have a read of: http://forums.opensuse.org/english/get-technical-help-here/wireless/425741-networkmanager-doesnt-configure-default-route-nameserve.html

Not sure if it will help, but at least something to try.

Thank you very much for this suggestion. Your answer led me to a solution of my networking problem.