PDA

View Full Version : problem with static ip



jaimefe
10-28-2003, 04:54 PM
im using a 3com 812 remote adsl modem, 3.3 of knoppix, and the router has all the numbers it needs to connect ( ip , dns , username, password, etc. ) in it, so its connected to the internet and the problem is: how to make the netcard to connect with the router with knoppix?

its static ip, so i dont need dhcp because my ip its always the same... it gives a error anyways when tryinig the adsl/ppp thingy..
so i tried to manually configure it, but i dont know what to put on the netcard config, tried with the values there were and internet wont work.. plz help

it was running whiout problems on winxp
pd: im a linux noob :oops:

edit: i think my problem is in the broadcasting adress field.. how to know it? ( i have a winxp comp on the same network, but ipconfig wont give it
thanks

jimk
10-28-2003, 09:07 PM
Hi. Maybe your router uses DCHP to connect with your knoppix client machine. Try using netcardconfig. From the K menu go to Knoppix then Network/Internet then Network card configuation. When it asks "Use DHCP broadcasting?" click on yes. If that doesn't work you may have to use PPPoE, which is in the same menu. You would have to enter your ppp user name and password supplied by your ISP. If that doesn't work, I defer to some of the experts on the forum. Perhaps your netcard isn't supported?

baldyeti
10-28-2003, 09:33 PM
edit: i think my problem is in the broadcasting adress field.. how to know it?
( i have a winxp comp on the same network, but ipconfig wont give it thanks)
Maybe you could show us the output of "ipconfig/all" (under XP) ?
Assuming a class C network, the broadcast address should retain the 1st
three bytes of your IP, plus 255 (eg 192.168.1.255)

jaimefe
10-28-2003, 10:32 PM
thanks for the answer

its supposed to be a network with internet access for all users, plus file sharing , thought im mainly focused on making the internet work on the knoppix machine.
here is the ipconfig/all of the winxp pc ( not knoppix one, but this one is in the same network)


Configuración IP de Windows



Nombre del host . . . . . . . . . : piii

Sufijo DNS principal . . . . . . :

Tipo de nodo . . . . . . . . . . : desconocido

Enrutamiento habilitado. . . . . .: No

Proxy WINS habilitado. . . . . : No



Adaptador Ethernet Conexión de área local :



Sufijo de conexión específica DNS : dummy.net

Descripción. . . . . . . . . . . : Adaptador Ethernet genérico 3Com 3C900B-TPO

Dirección física. . . . . . . . . : 00-01-02-82-CB-18

DHCP habilitado. . . . . . . . . : No

Autoconfiguración habilitada. . . : Sí

Dirección IP. . . . . . . . . . . : 192.168.1.3

Máscara de subred . . . . . . . . : 255.255.255.0

Puerta de enlace predeterminada : 192.168.1.1

Servidor DHCP . . . . . . . . . . : 192.168.1.1

Servidores DNS . . . . . . . . . .: 194.179.1.100

194.179.1.101

Concesión obtenida . . . . . . . : miércoles, 29 de octubre de 2003 13:28:51

Concesión expira . . . . . . . . .: miércoles, 29 de octubre de 2003 13:29:51

its in spanish , if u dont understand anything tell me.. anyways seems very obvious
as you can see it isnt using DCHP , because i have a static ip, and when i say NO to the DCHP netconfig thingy, and i put in all the values, it seems to work, but when i go into mozilla or conqueror, it tries to connect to a url , stays a little, then it says the host not found error.
and the dades i put in the netcardconfig ( in knoppix ) are:

dchp: no
ip adress : 192.168.0.2
network mask: 255.255.255.0
broadcast: 192.168.0.255
gateway: 192.168.0.254
nameserver: 192.168.0.254 ( dont know what this is , its by default)

thanks in advance

baldyeti
10-28-2003, 10:54 PM
ip adress : 192.168.0.2
broadcast: 192.168.0.255
gateway: 192.168.0.254
nameserver: 192.168.0.254 ( dont know what this is , its by default)

why a bitmap, for chrissake?!? "ipconfig/all>ipc.out" would have captured this just as well

It seems your other machine is on 192.168.1.X, so you need to use that as well:
ip adress : 192.168.1.2 (if you are certain this is unused)
broadcast: 192.168.1.255 (see, like in my example! scary isn't it?)
gateway: 192.168.1.1 (assuming 'puerta de enlace' corresponds to 'gateway')
nameserver: 194.179.1.100 (your ISP's DNS)

Please let us know whether this worked!

jaimefe
10-29-2003, 01:36 PM
thanks!!!! it worked at the end:)
i was putting 192.168.1.2 for ip, just copied it bad as its on other comp... anyways the problem was the dns, i didnt know that nameserver = dns :)

thanks, you saved me :D

baldyeti
10-29-2003, 01:46 PM
Thanks for letting us know. It's infuriating when you take the time to
understand someone's problem and suggest something, but they don't
even bother answering and reporting back. Enjoy your knoppix ride!