I tried to do the same with a FreeBSD stable machine, but it
doesn't work. I tried to ping the gateway IP, but it gives me an
error "no route to host".
Do I need to use PPPoE with this modem?
Relevant lines from /etc/rc.conf
ifconfig_fxp0="inet 192.168.10.6 netmask 255.255.255.0"
ifconfig_ed0="inet ##.###.##.147 netmask 255.255.255.0"
hostname="my machine's name"
defaultrouter="##.###.##.1"
gateway_enable="YES" # Set to YES if this host will
be a gateway.
firewall_enable="YES"
firewall_type="open"
firewall_quiet="NO"
natd_interface="fxp0" # Public interface or IPaddress
to use.
natd_enable="YES" # Enable natd (if firewall_enable
== YES).
The kernel was compiled iwth firewall and natd. /etc/services
checked and it had the natd line.
I was trying to get a router instead of a modem, but they were
out. I have a Cisco 675, from a previous DSL attempt, but I
couldn't find how to reset the password so I decided to just put
a second card on a FreeBSD machine and try to use the modem from
FreeBSD.
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
First you will have to state which model of the modem you have.
The 516 is an atm<-->ethernet bridge and needs PPPoE.
The 566 is a router and needs DHCP.
I went for the 516 so I could use FreeBSD for the routing and firewalling.
For the PPPoE config, I took a straight copy of the example PPPoE config
in the handbook, plugged in my username and password, brought up the ethernet
interface connected to the 516 without an IP configured, then fired off
ppp -ddial papchap. It just worked.
The good news about the 566 is that it is configured via a web interface.
The bad news about the 566 is that it is configured via a web interface.
--
Scott Lambert Unix SysAdmin -- Looking for work.
lam...@lambertfam.org http://www.lambertfam.org/~lambert/resume.html
Two and a half years Sr. SysAdmin experience with FreeBSD in a small,
15,000 dial-up accounts, 19,000+ e-mail accounts, ISP.
The last 5 months have included exposure to Solaris 7, True64 5, and Linux.