Install Debian without internet access

Matthias Camenzind m.camenzind at live.com
Fri Sep 26 22:51:16 CEST 2008


I tried but allways the same error on first line: iptables: No chain/target/match by that name
and why --dport 53?
----------------------------------------
> From: wesselch at gmx.net
> To: community at lists.openmoko.org
> Date: Fri, 26 Sep 2008 18:57:16 +0000
> Subject: Re: Install Debian without internet access
> 
> Am Freitag, den 26.09.2008, 16:54 +0000 schrieb Matthias Camenzind:
>> Hi,
>> I can't connect to the internet from my freerunner. Usb network and ssh is working. Wifi and bluetooth is not working. I would like to install debian, because i think on debian wifi should work.
>> Freerunner: Om2007.2 (over terminal i can install ipk-packages, but dependences are to deep to load every file manually)
>> Freerunner SD(2GB): Om2008 (wifi finds an unsecured net, but is not able to connect)
>> Laptop: Ubuntu 8.04 (I tried to install a dhcp router but didn't work. I tried also forwadings over iptables but didn't work)
>> Has someone some ideas wich could help me?
> 
> I act also very long time with my iptables till it works fine.
> 
> I need to run following commands at my server/notebook:
>> iptables -I RH-Firewall-1-INPUT -s 192.168.0.202 -j ACCEPT
> 
>> iptables -t nat -A POSTROUTING -j MASQUERADE -s 192.168.0.0/24
> 
>> iptables -t nat -A PREROUTING -p tcp -s 192.168.0.202 -d 192.168.0.200
> --dport 53 -j DNAT --to-destination 212.6.108.140
> 
>> iptables -t nat -A PREROUTING -p udp -s 192.168.0.202 -d 192.168.0.200
> --dport 53 -j DNAT --to-destination 212.6.108.140
> 
>> sysctl -w net.ipv4.ip_forward=1
> 
>> iptables-save
> 
> ...and on my FR I set the nameserver to my common one:
>> echo nameserver 212.6.108.140>/etc/resolv.conf
> 
> the sysctl command is most important, otherwise, the forwarding won't
> work.
> That's all.
> -- 
> 
> mfg/br, christian
> 
> Flurstraße 14
> 29640 Schneverdingen
> Germany
> 
> E-Mail: wesselch at gmx.net
> Telefon: +49 5193 97 14 95
> Mobile:  +49 171 357 59 57
> http://wesselch.homelinux.org

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE



More information about the community mailing list