Configuring For Internet Access Using Router
I tried sending the following message yesterday, but I believe it got lost somehow. In any event, it never was relayed by freebsd-questions. So here I go again. I am having a problem getting my system properly configured. I have three computers - 2 are WinXP Pro and one Free BSD. They are connected via a hub and then to a Net Gear RT311 Gateway Router. This is then connected to a cable modem. If I run my system with it configured as the files listed below show, then it seems to works alright. However, that is not the way the router manual says to do it. The manual wants th OS to obtain an IP automatically. The IP address of the PC is between 192.168.0.2 and 192.168.0.31 The subnet mask is 255.255.255.0 The default gateway is 192.168.0.1 If I disable the lines in the dhclient.conf file and reboot, my system will no longer make an Internet connection. Running nslookup will fail as well. Neither of my two WinXP boxes exhibits this phenomena. Perhaps someone can assist me with this . Also, when I access my router, it does not show a host name, although it does for the other two computers, It lists the IP as 192.168.0.4 as well as it's MAC address. Why is it not displaying a host name? It should, shouldn't it. Thanks Gerard Seibert [EMAIL PROTECTED] System Info Below: [EMAIL PROTECTED] ~ $ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 [EMAIL PROTECTED] ~ $ uname -a FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 re.config file: saver=logo blanktime=3600 hostname=rcn.com ifconfig_rl0=DHCP linux_enable=YES[EMAIL PROTECTED] ~ $ ifconfig -a lpd_enable=YES named_enable=YES named_flags=-u bind -g bind sendmail_enable=NONE sshd_enable=YES usbd_enable=YES ntpd_enable=YES clear_tmp_enabled=YES moused_flags=-z 4 5 moused_port=/dev/ums0 moused_type=auto resolv.conf: search rcn.com nameserver 207.172.3.8 nameserver 207.172.3.9 nameserver 192.168.0.1 dhclient.conf: interface rl0 { prepend domain-name-servers 207.172.3.8, 207.172.3.9; prepend domain-name rcn.com; } Runnihng ifconfig -a yields the following: [EMAIL PROTECTED] ~ $ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Configuring For Internet Access
I am having a problem getting my system properly configured. I have three computers - 2 are WinXP Pro and one Free BSD. They are connected via a hub and then to a Net Gear RT311 Gateway Router. This is then connected to a cable modem. If I run my system with it configured as the files listed below show, then it seems to works alright. However, that is not the way the router manual says to do it. The manual wants th OS to obtain an IP automatically. The IP address of the PC is between 192.168.0.2 and 192.168.0.31 The subnet mask is 255.255.255.0 The default gateway is 192.168.0.1 If I disable the lines in the dhclient.conf file and reboot, my system will no longer make an Internet connection. Running nslookup will fail as well. Neither of my two WinXP boxes exhibits this phenomena. Perhaps someone can assist me with this . Also, when I access my router, it does not show a host name, although it does for the other two computers, It lists the IP as 192.168.0.4 as well as it's MAC address. Why is it not displaying a host name? It should, shouldn't it. Thanks Gerard Seibert [EMAIL PROTECTED] System Info Below: [EMAIL PROTECTED] ~ $ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 [EMAIL PROTECTED] ~ $ uname -a FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 re.config file: saver=logo blanktime=3600 hostname=rcn.com ifconfig_rl0=DHCP linux_enable=YES[EMAIL PROTECTED] ~ $ ifconfig -a lpd_enable=YES named_enable=YES named_flags=-u bind -g bind sendmail_enable=NONE sshd_enable=YES usbd_enable=YES ntpd_enable=YES clear_tmp_enabled=YES moused_flags=-z 4 5 moused_port=/dev/ums0 moused_type=auto resolv.conf: search rcn.com nameserver 207.172.3.8 nameserver 207.172.3.9 nameserver 192.168.0.1 dhclient.conf: interface rl0 { prepend domain-name-servers 207.172.3.8, 207.172.3.9; prepend domain-name rcn.com; } Runnihng ifconfig -a yields the following: [EMAIL PROTECTED] ~ $ ifconfig -a rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::250:baff:fe40:6de1%rl0 prefixlen 64 scopeid 0x1 inet 192.168.0.4 netmask 0xff00 broadcast 192.168.0.255 ether 00:50:ba:40:6d:e1 media: Ethernet autoselect (100baseTX) status: active plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Properly Configuring For Internet Access
I am running FreeBSD 5.2.1 I am forever having problems getting my computer to connect with the internet and each other correctly. I have three computers - two running WinXP Pro and one running FreeBSD 5.2.1. They are connected to a Netgear Hub, onto a Netgear Router and then to my cable modem. The two Win XP machines have no problems networking with each other or connecting to the internet through this configuration. It seems that my FreeBSD machine does suffer problems from time to time however with this setup. In my resolv.conf file, I have the following: domain rcn.com nameserver 207.172.3.8 nameserver 207.172.3.9 My rc.conf file has the following pertinent entries: Ifconfig_rl0=DHCP rpcbind_enableYES The FreeBSD installation program inserted those entries. I have the following in my dhclient.conf file: interface rl0 { prepend domain-name-servers 207.172.3.8; prepend domain-name-servers 207.172.3.9; request subnet-mask, broadcast-address, routers, domain-name-servers; require subnet-mask, broadcast-address, routers; } What I am interested in knowing, is if this is the most efficient way of setting up my connecting to the internet on this machine. Once I get that cleared up, I will proceed to try to get the other two machines to recognize this one and vice-versa. Thanks for any assistance offered. Gerard Seibert [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]