Hi Lynn! I have made some modification to the Bering part of your doc to take into account changes that were introduced with beta-4. The network parameter has been removed since it is useless for a 2.4.x kernel The netmask parameter has been replaced by the masklen parameter since ip command is now used by ifup/ifdown instead of ifconfig Follows what I would suggest Jacques
> 3.6.3 Adding network information to Bering > > When you first log in to Bering, the system will run the script "lrcfg". This > presents you with a menu of choices to use in configuring your system. From > the menu, select first Network settings, then interfaces. This will start the text > editor "e3" in "ae-mode and open the file /etc/network/interfaces for > editing. > > Network information is configured in sections by connection-type which are > in the file /etc/network/interfaces. There are pre-defined configuration > sections for external (ISP) connections such as DHCP (default) ethernet, > Static ip ethernet, PPPoE, and PPP (dial-up). Simply find the connection > type that matches what you need and uncomment it (remove the "#" at the > beginning of the line). Do not forget to comment the sections that you will > not be using! The auto INTERFACE line is where you will enter the interface > being used, the default for each section should be correct. > Hint: The sections to select from are labeled 1.1, 1.2, 1.3, and 1.4 > > # Step 1: configure external interface > # uncomment/adjust one of the following 4 options > # Option 1.1 (default): eth0 / dynamic IP from pump/dhclient > auto eth0 > iface eth0 inet dhcp > # > # Option 1.2: eth0 / Fixed IP (assumed to be 1.2.3.4). > # (broadcast/gateway optionnal) > #auto eth0 > #iface eth0 inet static > # address 1.2.3.4 > # masklen 24 <--- See note (1) below > # broadcast 1.2.3.255 > # gateway 1.2.3.1 > # > # Option 1.3: PPP/PPPOE (modem connected to eth0) > #auto ppp0 > #iface ppp0 inet ppp > # pre-up ip link set eth0 up > # provider dsl-provider eth0 > # > # Option 1.4: PPP modem > #auto ppp0 > #iface ppp0 inet ppp > # provider provider > (1) Up to beta-3 Bering is provided with the ifconfig program and the network mask must be provided with the netmask parameter. From beta-4, the ip program is used and the netmask parameter has been replaced by the masklen parameter. (netmask 255.255.255.255 <=> masklen 32, netmask 255.255.255.0 <=> masklen 24, ...) > Next is a section to configure you LAN (private network) side of the router. > Again, the auto INTERFACE line sets which network card that is > configured, the you enter the proper information into the rest of the variables > (address, network, netmask, and broadcast). The defaults should be fine, > unless you have a specific reason to change them. You can add additional > interfaces by copying this section for each additional network card and > entering the proper information. > > # Step 2: configure internal interface > # Default: eth1 / fixed IP = 192.168.1.254 > auto eth1 > iface eth1 inet static > address 192.168.1.254 > masklen 24 > broadcast 192.168.1.255 > > ############################ end of FAQ ############################# > -- > > ~Lynn Avants > aka Guitarlynn > > guitarlynn at users.sourceforge.net > http://leaf.sourceforge.net > > If linux isn't the answer, you've probably got the wrong question! > > _______________________________________________ > Leaf-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-devel _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
