Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Linux and software for Linux
Register FAQ Members List Calendar Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-11-2010, 05:58 AM
Stream Recorder
 
Posts: n/a
Default

Sharing Internet connection over firewire (IEEE1394) in Ubuntu 9.10


Suppose we have 2 computers, one of them has an Internet connection. We can connect them over firewire and get a local network:
Code:
sudo modprobe eth1394
sudo ifconfig eth2 192.168.200.1 up

sudo modprobe eth1394
sudo ifconfig eth8 192.168.200.2 up
Suppose that we connect to the Internet via LAN from 192.168.200.1. How to share this Internet connection over firewire onto 192.168.200.2?

On 192.168.200.1 do the following:
Code:
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/conf/all/forwarding
If the latter command gives the following error:
Code:
bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
uncomment the "net.ipv4.conf.default.forwarding = 1" line in the "/etc/sysctl.conf":
Code:
sudo gedit /etc/sysctl.conf
and remove the # in front of the "net.ipv4.conf.default.forwarding = 1"
Then apply the changes:
Code:
sudo sysctl -p
If the forwarding is enabled you will get 1
Code:
cat /proc/sys/net/ipv4/ip_forward  
1
otherwise you will get 0
Code:
cat /proc/sys/net/ipv4/ip_forward  
0
Now on the on the 192.168.200.2 do the following:
Code:
sudo route add default gw 192.168.200.1
That's it. You should have Internet connection on 192.168.200.2 now!

p.s. Windows XP allowed to share Internet connection over firewire, but you can't do that in Windows Vista and Windows 7.
But you still can use Windows XP, Linux or Mac OS...
Reply With Quote
 
Tags: , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:58 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons