You are not logged in.

#1 2010-06-17 18:55:49

frachristophoro
Member
Registered: 2010-06-17
Posts: 3

Netinstall over an internet bridge

Trying to install Archlinux-ppc through a network-bridge.

The target computer is a Mac Lombard, attached via ethernet to my ibook G3 that is connected to wifi.

iwconfig tells me that I have a working connection, and net-setup have me an IP, but when I ping I get nothing back -

Anyone know what to do?

-Pax Omnibus.

Offline

#2 2010-06-22 12:45:49

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Netinstall over an internet bridge

you cant bridge a wireless connection with an ethernet connection, you need to set up ur wireless card in master mode for it to work.

Offline

#3 2010-06-25 08:29:06

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Netinstall over an internet bridge

You can can't Bridge the Wireless connection with brctl

However, you can bridge the connection with iptables and set up a NAT.

- Host computer -
Set these iptables rules.
Enable forwarding
Set the ip address and netmask of the eth0 interface

# iptables -A FORWARD -i wlan0 -o eth0 -s 192.168.44.0/24 -m state --state NEW -j ACCEPT
# iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
# iptables -A POSTROUTING -t nat -j MASQUERADE

$ echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward

# ifconfig eth0 192.168.44.1 netmask 255.255.255.0 up

- Guest Computer -
Set a Static IP
Set the default GateWay

# ifconfig eth0 192.168.44.2 netmask 255.255.255.0
# route add default gw 192.168.44.1 eth0

Last edited by hunterthomson (2010-06-25 11:09:55)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB