A connection to the Internet can be realized with different Internet access technologies implementing diverse protocols:
See the following sections that pertain to your particular connection requirements:
- via built-in modem. Here there is an example of a dummy pppoe over atm(most common) configuration, the values that you have to use vary depending on your ISP
# Configure pppoe connection uci set network.wan.proto=pppoe uci set email@example.com' uci set network.wan.password='yourpassword' # Configure atm bridge uci set network.atm.encaps='llc' uci set network.atm.payload='bridged' uci set network.atm.vpi='8' uci set network.atm.vci='32' # Configure adsl settings uci set network.adsl.fwannex='a' uci set network.adsl.annex='a2p' # Save changes uci commit network # Restart network service to reflect changes /etc/init.d/network restart # Bring up the atm bridge and start it automatically on boot /etc/init.d/br2684ctl start /etc/init.d/br2684ctl enable
- via a modem connected over an Ethernet cable: you could access.modem.through.nat (imo uncommon to need to do this), or just log on through it with PPPoE after setting it up:
uci set network.wan.proto=pppoe uci set firstname.lastname@example.org' uci set network.wan.password='yourpassword' uci commit network ifup wanOne might read more at network
- via built-in modem: you can carry out adjustments
- via a modem connected over an Ethernet cable: you could access.modem.through.nat
- HSDPA/UMTS/EDGE/GPRS/GSM → 3G
- via built-in modem:
- via a modem connected over USB (often called a 3G dongle):
- via plain Ethernet
- DHCP (default)
- Example configuration commands:
uci set network.wan.proto=static uci set network.wan.ipaddr=18.104.22.168 uci set network.wan.netmask=255.255.255.0 uci set network.wan.gateway=22.214.171.124 uci set network.wan.dns='126.96.36.199 188.8.131.52' uci commit network ifup wan
- via wireless (one of the 802.11x-standards)
- for multiple connections to the Internet, you should first make them each working solitary with OpenWrt before trying this: MultiWAN
- via USB tethering through your smartphone
Note:The opposite (USB reverse tethering aka USB internet passthrough) is also possible.
Next-generation network comprises VoIP and IPTV and everything is based on the Internet Protocol! These data streams should be separated from the usual data stream and routed to some hardware port where you can grab them with whatever device you wish to use them. If the output does not take place over a standard Ethernet Port, but e.g. over an ISDN- or a TAE connector, a corresponding signal has to be generated in hardware. This needs Linux support as well.
A trick to make the data packets belonging to the different services easily distinguishable from one another, is the usage of VLAN trunking. It has to be done on both sides, and you have to utilize the same VIDs as your ISP does. So, go learn about VLANs.
While you learn about VLAN and VLAN trunking it might be helpful to keep in mind, that with VLAN trunking you send three (respectively two) data services over one line, but want to simulate that you do this over three (respectively two) lines. So you have three virtual ports on the ISP side, each sends its packets over its own virtual line, to each its virtual port in your router. Now to get the data OUT of your router, each of the three virtual ports, has to have second port connected to it.
So, on your side, you would need six ports and three lines, but you (most likely) have only four ports and one line. So make the one port with the line connected to it, act as if it was three ports with each one separate line connected to it. That's it. As easy as eating pancakes or opening a can with an electrical can opener.
- We do not recommend this: user.beginner.lazy
Some ISPs offer Information about Settings on 3rd_Party_Routers
doc/howto/internet.connection.txt · Last modified: 2014/07/23 14:55 by javitury