how to get it online

2004-12-22 Thread Bagus

Hi,

I hope this mailing list can help. I just installed freebsd 5.3-Release onto
a new hard drive and I can't seem to get it online with my dhcp cable modem
thru a linksys hub. Later it will be moving to a static ip, so any help with
that transition now would be helpful too, but for now I have the machine at
home and need to install software on it.

If I give a
ifconfig
fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
 options =8VLAN_MTU
 ether 00:a0:c9:e6:11:b1
 media: Ethernet autoselect (100baseTX full-duplex)
 status:active
there'splip0 and lo0 as well...

ping freebsd.org
ping: cannot resolve freebsd.org: Host name lookup failure.

As an aside, I'm stunned this isn't a FAQ or part of the freebsd manual:
How to get your computer online. Really I'd rather not be posting this
question to a mailing list. It seems so basic, yet I can't find an answer
out there. If anyone has any references, I'd appreciate it.

Thanks

Bagus

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 10:20:21 -0600, Bagus [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I hope this mailing list can help. I just installed freebsd 5.3-Release onto
 a new hard drive and I can't seem to get it online with my dhcp cable modem
 thru a linksys hub. Later it will be moving to a static ip, so any help with
 that transition now would be helpful too, but for now I have the machine at
 home and need to install software on it.
 
 If I give a
 ifconfig
 fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
 options =8VLAN_MTU
 ether 00:a0:c9:e6:11:b1
 media: Ethernet autoselect (100baseTX full-duplex)
 status:active
 there'splip0 and lo0 as well...
 
 ping freebsd.org
 ping: cannot resolve freebsd.org: Host name lookup failure.
 
 As an aside, I'm stunned this isn't a FAQ or part of the freebsd manual:
 How to get your computer online. Really I'd rather not be posting this
 question to a mailing list. It seems so basic, yet I can't find an answer
 out there. If anyone has any references, I'd appreciate it.

Hostname lookup failure sounds like a dns problem to me.
Is there anything in /etc/resolv.conf ?  How is fxp0 assigned an
IP?  DHCP?  If so, do you have a line like the following in /etc/rc.conf:

ifconfig_fxp0=DHCP

How did you setup the Linksys?  Default (out-of-the-box) settings?
Is the DHCP server turned on at the router?  What does the status
page of the router settings show?

The FreeBSD Handbook is a great reference:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Paul Moran
Bagus wrote:
I can't seem to get it online with my dhcp cable modem
thru a linksys hub.
If I give a
 

ifconfig
   

fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
options =8VLAN_MTU
ether 00:a0:c9:e6:11:b1
media: Ethernet autoselect (100baseTX full-duplex)
status:active
there'splip0 and lo0 as well...
 

As an aside, I'm stunned this isn't a FAQ or part of the freebsd manual:
How to get your computer online. Really I'd rather not be posting this
question to a mailing list. It seems so basic, yet I can't find an answer
out there. If anyone has any references, I'd appreciate it.
Thanks
Bagus
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dhcp.html
--
Paul Moran
Potential Technologies
PH:(412)793-4257
[EMAIL PROTECTED]
www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Eilko Bos
Hi,

From the keyboard of Bagus, written on Wed, Dec 22, 2004 at 10:20:21AM -0600:
 ifconfig
 fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
  options =8VLAN_MTU
  ether 00:a0:c9:e6:11:b1
  media: Ethernet autoselect (100baseTX full-duplex)
  status:active

You don't appear to have an IP-address assigned. Most probably the DHCP-
negotiation failed. You don't tell who your ISP is. DHCP-configurations may
differ from ISP to ISP. You will have to configure your /etc/dhclient.conf I
guess, e.g. with (amongst others) send host-name your-hostname-known-by-ISP.
(man 5 dhclient.conf). After configuring it, retyry DHCP:

# dhclient fxp0

 ping freebsd.org
 ping: cannot resolve freebsd.org: Host name lookup failure.

Right. If DHCP from your cable ISP failes, most probably your /etc/resolve.conf
will not be modified/added. And therefor lookups  will fail.

 As an aside, I'm stunned this isn't a FAQ or part of the freebsd manual:
 How to get your computer online. Really I'd rather not be posting this
 question to a mailing list. It seems so basic, yet I can't find an answer
 out there. If anyone has any references, I'd appreciate it.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

Of course, since DHCP configuration may differ from ISP to ISP, I guess it is
too much work to add all those to the handbook. Maybe search engines can point
you to a proper references. Or, if you name your ISP on this list, someone here
might help you.

Cheerz,
--
Eilko Bos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: how to get it online

2004-12-22 Thread Bagus

Thanks,


  Hi,
 
  I hope this mailing list can help. I just installed freebsd 5.3-Release
onto
  a new hard drive and I can't seem to get it online with my dhcp cable
modem
  thru a linksys hub. Later it will be moving to a static ip, so any help
with
  that transition now would be helpful too, but for now I have the machine
at
  home and need to install software on it.
 
  If I give a
  ifconfig
  fxp0: flags =8802 bradcast, simplex, multicast mtu 1500
  options =8VLAN_MTU
  ether 00:a0:c9:e6:11:b1
  media: Ethernet autoselect (100baseTX full-duplex)
  status:active
  there'splip0 and lo0 as well...
 
  ping freebsd.org
  ping: cannot resolve freebsd.org: Host name lookup failure.

 Hostname lookup failure sounds like a dns problem to me.
 Is there anything in /etc/resolv.conf ?

No, there is not even a /etc/resolve.conf. What should go in there?
How is fxp0 assigned an  IP?  DHCP?
I think so. That's the way it should be.

 If so, do you have a line like the following in /etc/rc.conf:
 ifconfig_fxp0=DHCP

That line was not in there. I added it and rebooted. The boot process now
started the dhcp client, but still no actual ip address is reported in the
ifconfig.

 How did you setup the Linksys?  Default (out-of-the-box) settings?

plugged it in, plugged cable modem into uplink, plugged this pc into one
outlet, the freebsd box into another. PC works fine. Lights indicate
connectivity to bsd box.

 Is the DHCP server turned on at the router?  What does the status
 page of the router settings show?


That's supposed to be http://192.168.1.1, isn't it? I can't access that even
from my pc. Any advice there would be helpful. BTW, I'm using Cox as a ISP.

 The FreeBSD Handbook is a great reference:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/


Yes... there's more information there than I saw on first perusal. Thanks,
but I'm not out of the woods yet.

Bagus


 --
 Joshua Lokken
 Open Source Advocate

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 11:00:32 -0600, Bagus [EMAIL PROTECTED] wrote:
   ping freebsd.org
   ping: cannot resolve freebsd.org: Host name lookup failure.
 
  Hostname lookup failure sounds like a dns problem to me.
  Is there anything in /etc/resolv.conf ?
 
 No, there is not even a /etc/resolve.conf. What should go in there?
 How is fxp0 assigned an  IP?  DHCP?
 I think so. That's the way it should be.
 
  If so, do you have a line like the following in /etc/rc.conf:
  ifconfig_fxp0=DHCP
 
 That line was not in there. I added it and rebooted. The boot process now
 started the dhcp client, but still no actual ip address is reported in the
 ifconfig.
 
  How did you setup the Linksys?  Default (out-of-the-box) settings?
 
 plugged it in, plugged cable modem into uplink, plugged this pc into one
 outlet, the freebsd box into another. PC works fine. Lights indicate
 connectivity to bsd box.
 
  Is the DHCP server turned on at the router?  What does the status
  page of the router settings show?
 
 
 That's supposed to be http://192.168.1.1, isn't it? I can't access that even
 from my pc. Any advice there would be helpful. BTW, I'm using Cox as a 
 ISP.

You can set fxp0 to use a static IP until you get the router working.
# ifconfig fxp0 inet 192.168.1.2 netmask 255.255.255.0
# route add default 192.168.1.1

In /etc/rc.conf, you should have:

ifconfig_fxp0=DHCP
defaultrouter=192.168.1.1

You should be able to login to the Linksys admin page:

http://192.168.1.1AFAIK, most of the Linksys home networking
devices use a blank username and password 'admin' by default.

Make sure that the DHCP server is enabled, and restart.

HTH,
-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Jim Trigg
On Wed, December 22, 2004 1:30 pm, Joshua Lokken said:
 On Wed, 22 Dec 2004 11:00:32 -0600, Bagus [EMAIL PROTECTED] wrote:
 
  How did you setup the Linksys?  Default (out-of-the-box) settings?

 plugged it in, plugged cable modem into uplink, plugged this pc into one
 outlet, the freebsd box into another. PC works fine. Lights indicate
 connectivity to bsd box.

  Is the DHCP server turned on at the router?  What does the status
  page of the router settings show?
 

 That's supposed to be http://192.168.1.1, isn't it? I can't access that
 even
 from my pc. Any advice there would be helpful. BTW, I'm using Cox as a
 ISP.

Not if you haven't reconfigured the router; the default is
http://192.168.0.1.

Jim
-- 
Jim Trigg, Lord High Everything Else  O-  /\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread Joshua Lokken
On Wed, 22 Dec 2004 13:42:43 -0500 (EST), Jim Trigg [EMAIL PROTECTED] wrote:
 On Wed, December 22, 2004 1:30 pm, Joshua Lokken said:
  On Wed, 22 Dec 2004 11:00:32 -0600, Bagus [EMAIL PROTECTED] wrote:
  
   How did you setup the Linksys?  Default (out-of-the-box) settings?
 
  plugged it in, plugged cable modem into uplink, plugged this pc into one
  outlet, the freebsd box into another. PC works fine. Lights indicate
  connectivity to bsd box.
 
   Is the DHCP server turned on at the router?  What does the status
   page of the router settings show?
  
 
  That's supposed to be http://192.168.1.1, isn't it? I can't access that
  even
  from my pc. Any advice there would be helpful. BTW, I'm using Cox as a
  ISP.
 
 Not if you haven't reconfigured the router; the default is
 http://192.168.0.1.

[I wish I could site the exact model number] I just setup two
Linksys 4-port 10/100 routers with wireless, and they were 
both set to 192.168.1.1 out of the box.  In fact, that what's
Linksys' website says, too:

When the browser window opens, go to the Address bar and 
 type in the router's IP Address and click on the Go button 
 (192.168.1.1 is the default IP address of Linksys Routers).

It's all in TFM ;)

-- 
Joshua Lokken
Open Source Advocate
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to get it online

2004-12-22 Thread epilogue
On Wed, 22 Dec 2004 11:00:32 -0600
Bagus [EMAIL PROTECTED] wrote:

  The FreeBSD Handbook is a great reference:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
 
 Yes... there's more information there than I saw on first perusal.
 Thanks, but I'm not out of the woods yet.

since you seem to have missed a few rather important bits of handbook on
your first read, let us check one more.

are you by any chance using a custom kernel?  if so, please confirm that
it includes 'device bpf' (which is essential for DHCP).

hth,
epi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]