Linking Freerunner with OpenSuse 10.3 (64-bit)

Matt Luzum mluzum at gmail.com
Mon Jul 21 07:46:14 CEST 2008


OK, I stopped being lazy and did some googling, and here's what I have 
so far.  It should work as long as you're not on a network using 
192.168.0.x addresses.  I still have to enter "route add -host 
192.168.0.202/32 dev usb0" in a terminal to get around that, but other 
than that this should make everything automatic.

If anyone confirms that this works (or doesn't work), please reply. 
I've been changing a lot of settings, so there might be something 
missing, but it seems to work.

OK, short version:

YaST -> Network Devices -> Network Settings -> Overview -> Add -> Address

Under "IP Address" enter "192.168.0.200"
Under "Subnet Mask" enter "255.255.255.0"

-> General -> Firewall Zone -- Assign Interface to Firewall Zone -> 
Internal Zone (Unprotected)

Click "Next", which takes you back to:

YaST -> Network Devices -> Network Settings -> Global Options -> 
Traditional Method with ifup

YaST -> Network Devices -> Network Settings -> Routing -> Enable IP 
Forwarding

YaST -> Firewall -> Masquerading -> Masquerade Networks


With any luck, that should do it.

Long version:


Go to
YaST Control Center -> Network Devices -> Network Card  (openSUSE 11.0)
or
YaST Control Center -> Network Devices -> Network Settings (openSUSE 10.3)

In the Overview tab click "Add".

Under the Address tab click "Statically assigned IP Address"

Still under the Address tab, in the "IP Address" field enter 
"192.168.0.200", and in the "Subnet Mask" field enter "255.255.255.0".

Under the "General" tab, where it says "Firewall Zone -- Assign 
Interface to Firewall Zone", choose "Internal Zone (Unprotected)".

Click Next

Still in Network Settings, under the Global Options tab, make sure 
"Traditional Method with ifup" is selected (if you want to use 
NetworkManager, you'll have to figure it out yourself since the webpage 
I got this from assumes otherwise
- http://en.opensuse.org/ICS)

Still in Network Settings, under the Routing tab, select "Enable IP 
Forwarding"

Click Finish

Open YaST Control Center -> Firewall -> Masquerading

Select "Masquerade Networks" and click Next, then Finish.


Thanks to Stroller for the tip on what to google for.  Hopefully this 
will work.  I'll try it on my office computer tomorrow.

Matt




More information about the support mailing list