Ethernet: Difference between revisions
Guest09248 (talk | contribs) (Created page with "''From [https://en.wikipedia.org/wiki/Ethernet Wikipedia]:'' Ethernet is a family of wired computer networking technologies commonly used in local area networks (LAN), metrop...") |
(replace /etc/init.d with rc-service) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 17: | Line 17: | ||
<br> | <br> | ||
Available interfaces are: eth0 wlan0. | |||
Enter '?' for help on bridges, bonding and vlans. | Enter '?' for help on bridges, bonding and vlans. | ||
Which one do you want to initialize? (or '?' or 'done') [eth0] | Which one do you want to initialize? (or '?' or 'done') [eth0] | ||
choose <code>eth0</code> (or your Ethernet device) | choose <code>eth0</code> (or your Ethernet device, Ethernet devices usually start with <code>e</code> ) | ||
<br> | <br> | ||
Line 35: | Line 35: | ||
Now it will ask <code>Do you to do any manual network configuration? (y/n) [n]</code> | Now it will ask <code>Do you to do any manual network configuration? (y/n) [n]</code> | ||
unless you | unless you need to do manual network configuration choose '''n''', if you need to do manual network configuration choose '''y''' and it will open the <code>/etc/network/interfaces</code> file. | ||
<br> | |||
if <code>setup-interfaces</code> doesnt do this automatically, then you need to '''start''' (or '''restart''') the networking service: | |||
{{Cmd|# rc-service networking --quiet start &}} | |||
<br> | |||
and add it to start on boot: | |||
{{Cmd|# rc-update add networking boot}} | |||
==Tips / Troubleshooting== | |||
Sometimes an ethernet interface will not be detected by the installation media. In this case, you may have to use an alternate interface for installation (e.g. a usb to ethernet adapter) upon which after install / reboot the interface will display. You may also try installing any missing packages that contain the drivers. | |||
[[Category:Networking]] |
Latest revision as of 09:56, 17 November 2023
From Wikipedia:
Ethernet is a family of wired computer networking technologies commonly used in local area networks (LAN), metropolitan area networks (MAN) and wide area networks (WAN). It was commercially introduced in 1980 and first standardized in 1983 as IEEE 802.3. Ethernet has since been refined to support higher bit rates, a greater number of nodes, and longer link distances, but retains much backward compatibility.
Setup
When installing setup-alpine should give you the option to easily setup Ethernet or if you need to setup Ethernet after installation you can use setup-interfaces.
setup-interfaces
start by running this command:
# setup-interfaces
Available interfaces are: eth0 wlan0. Enter '?' for help on bridges, bonding and vlans. Which one do you want to initialize? (or '?' or 'done') [eth0]
choose eth0
(or your Ethernet device, Ethernet devices usually start with e
)
if asked:
Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp]
choose dhcp
Now it will ask Do you to do any manual network configuration? (y/n) [n]
unless you need to do manual network configuration choose n, if you need to do manual network configuration choose y and it will open the /etc/network/interfaces
file.
if setup-interfaces
doesnt do this automatically, then you need to start (or restart) the networking service:
# rc-service networking --quiet start &
and add it to start on boot:
# rc-update add networking boot
Tips / Troubleshooting
Sometimes an ethernet interface will not be detected by the installation media. In this case, you may have to use an alternate interface for installation (e.g. a usb to ethernet adapter) upon which after install / reboot the interface will display. You may also try installing any missing packages that contain the drivers.