You are not logged in.

#1 2014-11-05 08:57:35

vohof
Member
Registered: 2013-08-14
Posts: 33

[SOLD] netctl: Bridge wifi and ethernet

The source of internet is the wifi with the following conf:

Interface=wlp4s0
Connection=wireless
Security=wpa
ESSID='PLDTHOMEDSL'
Key='PLDTWIFI1E211'
IP=static
Address='192.168.1.50/24'
Gateway='192.168.1.1'
DNS=('8.8.8.8' '8.8.4.4')

I get connected with this configuration. Now I attempt to bridge by adding another config:

Interface=enp3s0f2
Connection=bridge
BindsToInterfaces=(wlp4s0)
IP=static
Address='192.168.1.51/24'
Gateway='192.168.1.1'
DNS=('8.8.8.8 8.8.4.4')

When I attempt to start it It fails:

Job for netctl@bridge.service failed. See 'systemctl status netctl@bridge.service' and 'journalctl -xn' for details

systemctl outputs the ofllowing:

● netctl@bridge.service - Example Bridge connection
   Loaded: loaded (/etc/systemd/system/netctl@bridge.service; enabled)
   Active: failed (Result: exit-code) since Wed 2014-11-05 16:56:00 PHT; 38s ago
     Docs: man:netctl.profile(5)
  Process: 5256 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 5256 (code=exited, status=1/FAILURE)

journalctl -xn didn't ouput anything relevant. I don't know what else could I have done wrong sad

Here's ip link show by the way:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 20:6a:8a:d1:bc:96 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether e0:06:e6:ab:75:e7 brd ff:ff:ff:ff:ff:ff

Last edited by vohof (2014-11-06 05:59:09)

Offline

#2 2014-11-05 11:58:26

vohof
Member
Registered: 2013-08-14
Posts: 33

Re: [SOLD] netctl: Bridge wifi and ethernet

Nevermind, I figured what I need is Internet Sharing.

Offline

Board footer

Powered by FluxBB