Hello. I'm 100% new to FreeBSD. I just installed it on a recycled DeskPC with a 200GB harddrive, 1GB memory and an AMD 1600+ CPU. The install went smoothly, including installing Diablo Java and TomCat6. Some really great documentation out there for us newcomers. Thanks!
However, I seem to be losing reference to my nameserver (DNS) as is evidenced when FTP will fail with this error message:
I do not, however, lose remote access over my network (using Putty) to the computer so I do not think that there is a problem with my NIC.
If I run [cmd=]dhclient fxp0[/cmd] I get the following:
and then the FTP works correctly.
I want to use a static address and not DHCP. My firewall hardware is also a DHCP server (192.168.50.1) and it is connected to the internet via a ADLS Modem supplied by my ISP (192.168.1.1) which is thus my default nameserver (DNS).
Below are excerpts from rc.conf, resolv.conf and ifconfig. Thanks for any help.....GK
/etc/rc.conf contents:
/etc/resolv.conf contents, note this file was populated by the system and not me:
ifconfig content:
However, I seem to be losing reference to my nameserver (DNS) as is evidenced when FTP will fail with this error message:
Code:
hostname nor servname provided, or not known
If I run [cmd=]dhclient fxp0[/cmd] I get the following:
Code:
DHCPREQUEST on fxp0 to 255.255.255.255 port 67
DHCPACK from 192.168.50.1
bound to 192.168.50.72 -- renewal in 43200 seconds.
and then the FTP works correctly.
I want to use a static address and not DHCP. My firewall hardware is also a DHCP server (192.168.50.1) and it is connected to the internet via a ADLS Modem supplied by my ISP (192.168.1.1) which is thus my default nameserver (DNS).
Below are excerpts from rc.conf, resolv.conf and ifconfig. Thanks for any help.....GK
/etc/rc.conf contents:
Code:
#ifconfig_fxp0="DHCP"
ifconfig_fxp0="inet 192.168.50.72 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
inetd_enable="YES"
moused_enable="YES"
moused_type="auto"
sshd_enable="YES"
/etc/resolv.conf contents, note this file was populated by the system and not me:
Code:
nameserver 192.168.1.1
nameserver 80.10.246.2
nameserver 80.10.246.129
ifconfig content:
Code:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=2008<VLAN_MTU,WOL_MAGIC>
ether 00:08:c7:b3:58:98
inet 192.168.50.72 netmask 0xffffff00 broadcast 192.168.50.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
vr0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
ether 00:0c:76:e6:6a:cd
media: Ethernet autoselect (none)
status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>