Re: Internet connection
- From: Marshall Dudley <mdudley@xxxxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 16:11:52 -0500
Warren Block wrote:
> Marshall Dudley <mdudley@xxxxxxxxxxxxx> wrote:
> > OK, got it loaded and working, and perl installed. Have a couple of
> > issues left, I suspect I answered something wrong in the initial
> > configuration, but not sure what. At one point it asked me for the
> > server name, but this is not a server, so I cancelled out of that.
>
> Hostname? Each computer has a hostname; yours is probably now
> "Amnesiac". But it depends on how you "cancelled out".
Ah yes, I did see that when I logged in, Amnesiac it is.
>
>
> > Before I loaded FreeBSD I tested the computer and verified it could
> > connect to the internet. Now with FreeBSD loaded there is no internet
> > connection, "ping cannot resolve", and I cannot even ping the Windows
> > computer on the same router, it says no route to host. The internet
> > connection is via an Actiontec DSL gateway, which is up and running with
> > another computer on it that is working. Can someone tell me what might
> > be configured wrong, or point me to a page that would help me
> > troubleshoot it?
>
> Check that cable is still properly connected.
> Check that your card is recognized with ifconfig.
> Probably your card should be configured by DHCP, so you need an entry in
> /etc/rc.conf for it:
>
> ifconfig_vr0="DHCP"
>
> The vr0 is the name of the card; what you use there will depend on what
> is in your system. ifconfig shows the names of cards found.
Ok, I have added ifconfig_dc0="DHCP" to that file. It reads:
usbd_enable="YES"
ifconfig_dc0="DHCP"
Rebooted but still does not work. However it is giving me an error message on
booting about a bogus domain search that it was not giving me before.
Specifically it will print the following then pause for 30 or so seconds now:
I get the following 6 times with the number after "interval" changing each
time between 8, 14, 15, 8, 9, and 7.:
DHCPDISCOVER on dc0 to 255.255.255.255 port 67 interval [8 14 15 8 9 7]
DHCPOFFER FROM 192.168.0.1
Bogus domain search list 15: domain_not_set.invalid (domain_not_set.invalid)
Invalid lease option ignoring offer
packet_to_lease failed.
Then this is followed by a bunch of text that looks a lot like the ifconfig
screen for the dc0 below.
If I try to ping a domain, I get "cannot resolve [the domain name I am trying
to ping]: host name lookup failure
If I try to ping an ip, I get: "ping: sendto: No route to host" even for the
gateway ip of 192.168.0.1 (which I can ping easily from the Windows computer
on the same router).
A ipconfig on my Windows computer connected to the same router gives:
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : domain_not_set.invalid
IP Address. . . . . . . . . . . . : 192.168.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
And the ifconfig on the FreeBSD box gives me:
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLES,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80: :20c :41ff :fe1b :5cc3%dc0 prefixlen 64 scopeid 0x1
ether 00:0c :41 :1b :5c :c3
media: Ethernet autoselect (100baseTX <full-duplex>
status: active
plip0: flags=108810<POINTOTOINT,SIMPLEX,MULTICASST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopid 0x3
inet 127.0.0.1 netmask 0xff000000
I am really close now!
Thanks,
Marshall
.
- Follow-Ups:
- Re: Internet connection
- From: Warren Block
- Re: Internet connection
- References:
- Internet connection
- From: Marshall Dudley
- Re: Internet connection
- From: Warren Block
- Internet connection
- Prev by Date: Re: sendmail error messages
- Next by Date: Re: freebsd and SQUID
- Previous by thread: Re: Internet connection
- Next by thread: Re: Internet connection
- Index(es):
Relevant Pages
|
|