Analog Devices® Eagle® driver for *BSD |
![]() |
|
Tutorial list1. Automatic connection at startup
This suggestion originally posted by
QuiRK
on the forum allows automatic connection at startup under FreeBSD. ueagle_load="YES" This line will tell the system to load the ueagle module at startup. Now you must check that the USB daemon is running (usbd). Check in the file /etc/rc.conf that you have the line: usbd_enable="YES" The next step consists in telling the USB daemon to flash the firmware each time a pre-firmware modem is connected to the USB. Add the following lines to the /etc/usbd.conf file: device "Analog Devices Eagle chipset, firmware download" devname "ugen[0-9]+" vendor 0x1110
Last step consists in telling the USB daemon to synchronize the modem and to establish the connection with your provider. This step depends on the way you are connecting to your provider (either with PPPoA or IPoA): 1) PPPoAAdd the following lines in your /etc/usbd.conf file: device "Analog Devices Eagle chipset" devname "ueagle[0-9]+" attach "/usr/local/sbin/eagle_pppoa ${DEVNAME} start label
2) IPoA (Free dégroupé)Add the following lines in your /etc/usbd.conf file: device "Analog Devices Eagle chipset" devname "ueagle[0-9]+" attach "/usr/local/sbin/eagle_ipoa ${DEVNAME} start vpi
You can then reboot your machine and everything should work automatically! 2. Sharing your Internet connection with pppFirstly, IP forwarding must be enabled on the machine your modem is connected to. Check that the following directive is present in your /etc/rc.conf file: gateway_enable="YES" User ppp has some built-in NAT capabilities. It is sufficient in most cases but if you need additionnal features, you should consider using natd or ipnat. Configuration of natd or ipnat is beyond the scope of this document though. To enable the built-in network address translation (NAT) on your ppp connection, add the following two lines in your /etc/ppp/ppp.conf configuration file: adsl: ... nat enable yes nat same_ports yes You should now reboot your machine for IP forwarding to be enabled. Others machines on your network should then be able to access the Internet through your gateway. It is also strongly advised to configure a firewall using either the built-in filter rules of ppp or preferably ipfw. |
Copyright © 2003, 2004 Damien Bergamini. All rights reserved. Contact me for more informations on this site. |