Help with netcardconfig


Forum: Networking
Topic: Help with netcardconfig
started by: brandon_r87

Posted by brandon_r87 on June 22 2005,01:29
Hello, I already posted a smiliar topic like this but didnt receive any help.  I don't know what to put for my Broadcast Address and Nameserver.  I figured out how to access my network so I know that it works right but the internet does not.  I think my problem is that I don't know what to put in the Broadcast Address and Nameserver spots.

My network is all in 192.168.1.xxx.  So I put 192.168.1.111 for eth0, 192.168.1.254 for Default Gateway and DNS (which I took from WinXP which has working internet sharing).  Am I right that it is broadcast address or nameserver or am I doing something wrong with the other numbers I'm entering?  Please answer because my last topic on this was pretty much ignored and I'm really confused.  I even looked up Broadcast address but it didn't make a lot of sense when I read it.

Posted by catfish on June 22 2005,01:59
If your router (gateway) is also a DHCP server you don't have to manually configure the interface - just run netcardconfig and select "Yes" to the first prompt (i.e., "Use DHCP broadcast?")

From your info when you manually enter the configuration, the broadcast address should be 192.168.1.255 - that is, the last part of the address is .255 (or all "1's" for the host part of the IP address - in your case the network part of the IP address is 192.168.1)

Use the command "ifconfig" to query the status of your network interfaces. It should return entries for eth0 and lo (the "loopback" interface which is part of the linux kernel). You could also try to ping your router ("sudo ping 192.168.1.254") and see if you get a response (use Ctrl-C to quit the ping).

Good luck...

Posted by Bob489 on June 22 2005,02:05
DHCP broadcast is deff the easiest.

if you normally run windows,

start->run-> type'cmd' and click run

then type "ipconfig /all' + enter

that should give you most of your network info

then reboot in dsl

Posted by brandon_r87 on June 22 2005,02:45
ok, i have done dhcp and it acts like it goes through but then still doesnt work.  i have my access point (my whole network is wireless) set to distribute numbers by dhcp but that doesnt help.  doing this though keeps samba from being able to access my network files on my windows computer.  i can access these as long as i dont change anything in netcardconfig.
Posted by brandon_r87 on June 22 2005,03:27
ok, i realized my wireless bridge was set to static ip so i set it to dynamic ip hoping this would solve my problem with dhcp.  it didnt work though.  like i said, i can access my windows network files on samba but not my internet, which by the way is dsl.  in case this helps, i'll outline my network.


windows pc ----\                                             /---- linux pc
                      wireless access point ............ wireless bridge
dsl modem -----/                                            \---- xbox live

ok, i hope that picture makes sense.  the dashed lines and slashes are physical ethernet connections and the dots represent the wireless connection between my ap and bridge.

edit: after some tinkering with the settings in netcardconfig, i have been able to go to gamespot.com, but only through typing in 216.239.120.50 instead of the regular web address, so my friend tells me that it has to do with resolving the dns.

Posted by friedgold on June 23 2005,00:13
Quote (brandon_r87 @ June 21 2005,23:27)
i have been able to go to gamespot.com, but only through typing in 216.239.120.50 instead of the regular web address, so my friend tells me that it has to do with resolving the dns.

Your friend is quite right in telling you its a DNS problem. Your DNS server should go in the 'nameserver spot' of netcard config. Quite often the ip address you need will be the ip of your router as many act as dns servers themselves. If this doesn't work you could try putting in the ip address of your ISP's DNS server. You can usually find this out by looking at the status page of your router's configuration.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.