Author Topic: [Solved] Passing my wireless network to my xbox  (Read 2212 times)

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Passing my wireless network to my xbox
« Reply #15 on: June 22, 2011, 11:14:48 PM »

still the whole network will work under a 3G network, only 1.3 mbps, maybe the phone has access to a faster connection but not sure, depends on the plan he has and the type of phone, most phones i used recently are 3G only

1.3 mbps seems enough to me, you can comfortably stream a netflix movie with that speed. I dont think any online streaming experience will suffer for lack of bandwidth on that speed or am i wrong?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Passing my wireless network to my xbox
« Reply #16 on: June 23, 2011, 07:18:22 AM »
depends on the quality of the video

youtube at 360p will work well

depends on how stable the service is
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline kolosus

  • Hero Member
  • *****
  • Posts: 773
  • I don't have blue eyes
Re: Passing my wireless network to my xbox
« Reply #17 on: June 23, 2011, 01:46:44 PM »
muungwana I actually do not want it to survive every boot. There are times when I plug this machine into a real router and use it that way. So when I do want to connect my xbox through the laptop I type in the commands

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -I POSTROUTING -o wlan0 -j MASQUERADE

and use static IP.

When I want to connect to a router I dont type in anything but switch my eth0 interface to dhcp. Correct?
Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran

Online muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: [Solved] Passing my wireless network to my xbox
« Reply #18 on: June 23, 2011, 02:10:53 PM »
Those two commands will allow traffic originated from one network(on eth0) to pass through the laptop to another network(on wlan0). They will not interfere with the normal operation of the laptop regardless of what interface is in use and how they got their IP addresses.

They will be effective only if both interfaces are connected to their respective networks and only if eth0 is getting gateway traffic ie, only if there is a computer/device on eth0 network with a gateway address equal to that of eth0.

If you dont want them to survive reboot, then the reason should be you do not want your laptop to act as a router without manually configuring it enhancing network security and not because they will interfere with normal usage of either interface on the laptop.

The set up will work even when eth0 gets its address from dhcp, you will just have to know the ip address given to the interface by the dhcp server and then set your xbox or any other computer/device default gateway address to that of the interface address and things will work just fine.
« Last Edit: June 23, 2011, 02:23:03 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: [Solved] Passing my wireless network to my xbox
« Reply #19 on: June 23, 2011, 04:38:59 PM »
then, my idea of a router with dhcp is not that bad
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline kolosus

  • Hero Member
  • *****
  • Posts: 773
  • I don't have blue eyes
Re: [Solved] Passing my wireless network to my xbox
« Reply #20 on: June 26, 2011, 04:25:32 PM »
Your idea with the router and dhcp is fine. Nothing wrong with the idea. I just didn't want to go out and buy a router for this purpose.
Linux User # 435130

For what is evil but good tortured by its own hunger and thirst?
Verily when good is hungry it seeks food even in dark caves, and when it thirsts, it drinks even of dead waters.
The PROPHET, by Kahlil Gibran

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: [Solved] Passing my wireless network to my xbox
« Reply #21 on: June 26, 2011, 05:22:45 PM »
a router can have other purposes but yes, simpler solutions usually are better  :)
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan