DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th August 2009
michaelrmgreen's Avatar
michaelrmgreen michaelrmgreen is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 49
Thanked 0 Times in 5 Posts
Default [Solved]Connecting to internet via adsl router

My network at work uses static ip addresses and a class A mask (10.x.x.x 255.0.0.0).

The network has a Netgear DG 834G adsl/modem/router which the Windows systems use to access the internet. In the Windows TCP/IP properties boxes I find the following: IP address 10.0.0.nnn; subnet mask 255.0.0.0; default gateway 10.0.0.1; preferred DNS server 195.8.16.64.

I'm trying to access the FreeBSd ftp site to update my ports tree but I cannot reach the internet.

I've reviewed the relevant sections in Handbook and searched FreeBSD.org and Google but I'm having trouble seperating the information out.

Using sysinstall I've set the network interface to 10.0.0.4/255.0.0.0, the IPv4 gateway to 10.0.0.1; nameserver to 195.8.16.64.

I can ping other systems on the lan.

So, finally, what steps have I missed out in the configuration, and where could I have found this information myself? TIA.

Last edited by michaelrmgreen; 6th August 2009 at 08:49 AM.
Reply With Quote
  #2   (View Single Post)  
Old 5th August 2009
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 201
Thanked 5 Times in 5 Posts
Default

Your freebsd system is already installed?
#ifconfig [nic card(.ko)] inet [0.0.0.0] netmask [0.0.0.0]
#route add default [192.168... (or 10. . . )...
a... substitute the nic card name, ie re0, fxp0
b... proper values in the ifconfig above
c... proper value in the route add default
My understanding (very limited) is that if your firewall allows it, that
will connect you if the router firewall allows it, and the router is one-not-the-other
type... (the latter needing auth and/or pppoe and/or...)
So in one case at least, figuring out the values above (you can search ifconfig's
for similar network values on the web) may work.
Sorry no time to actually re-read your post, I am limited as to the amount of
time I can browse forums...
__________________
FreeBSD v9... pkg2ng somewhat working...
Reply With Quote
  #3   (View Single Post)  
Old 6th August 2009
michaelrmgreen's Avatar
michaelrmgreen michaelrmgreen is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 49
Thanked 0 Times in 5 Posts
Default

Gah - I can't brain today, I have the dumb. A restart was all it needed. No doubt some incantation involving kill or killall would have done the job too.
Reply With Quote
  #4   (View Single Post)  
Old 9th August 2009
windependence's Avatar
windependence windependence is offline
Real Name: Tim
Shell Scout
 
Join Date: May 2008
Location: Phoenix, Arizona
Posts: 116
Thanked 4 Times in 3 Posts
Default

Code:
# /etc/rc.d/netif restart && /etc/rc.d/routing restart


-Tim
__________________
www.windependence.org
Get your Windependence today!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg_add problems with connecting Mr-Biscuit NetBSD Package System (pkgsrc) 2 26th May 2009 11:44 AM
Connecting to router wirelessly guitarscn OpenBSD General 16 21st January 2009 03:47 AM
PPPoE -> ADSL Router (Bridge) - Slow connect? DraconianTimes OpenBSD General 0 31st December 2008 01:07 PM
firewall for 2 adsl milo974 OpenBSD General 2 13th October 2008 05:03 PM
Connecting to wireless router TomAmundsen FreeBSD General 19 25th August 2008 10:14 PM


All times are GMT. The time now is 01:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick