Author Topic: XP And PCLOS  (Read 1705 times)

Tommylee567

  • Guest
XP And PCLOS
« on: December 27, 2009, 03:43:06 AM »
I have the latest PCLOS up to date.
What i'm trying out is i have a 3g connection, and i want to share the connection to my dad's laptop that is running XP with WiFi.
[NO ETHERNET here, WIFI only]
Just connecting is perfect. No problem in that. But i have shared the internet connection in pclos but XP doesn't connect to the internet.
That pc has to use PCLOS to connect to the internet. Anything to install?
I tried Internet Sharing in the PCLOS Control Center and it kept saying that there is no ethernet connection available. My only way is WiFi (10/100 card got busted lately)

Any Suggestions?

(i'm trying to prove my dad that running a linux is better than Windows) Possible?

Offline mokmeister

  • Full Member
  • ***
  • Posts: 189
  • I think, therfore I erm.
Re: XP And PCLOS
« Reply #1 on: December 27, 2009, 04:16:18 AM »
What WiFi card have you got?

Tommylee567

  • Guest
Re: XP And PCLOS
« Reply #2 on: December 27, 2009, 04:46:20 AM »
PCMCIA card
Hardware info by control center

Vendor: ‎Broadcom Corporation
Description: ‎BCM4306 802.11b/g Wireless LAN Controller
Media class: ‎Network controller

Connection
Bus: ‎PCI
PCI domain: ‎0
Bus PCI #: ‎7
PCI device #: ‎0
PCI function #: ‎0
Vendor ID: ‎0x14e4
Device ID: ‎0x4320
Sub vendor ID: ‎0x1737
Sub device ID: ‎0x4320

Misc
Module: ‎ndiswrapper


Offline mokmeister

  • Full Member
  • ***
  • Posts: 189
  • I think, therfore I erm.
Re: XP And PCLOS
« Reply #3 on: December 27, 2009, 06:11:39 AM »
You will need to set up a bridge between your 3g modem and your wifi. As far as I know, and there will be far more knowledgeable people out there (AndrzejL, since you've had all your fun with your 3g modem, you might be able to lend a hand with this one... ;) , this isn't a trivial task, unless there is some handy way to do it with PCLinuxOS that I don't know about. You'll want to be familiar with the command line and networking in general.

A good place to start would be here:
http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge#What_can_be_bridged.3F

At least this will give you the knowledge to start.

Offline marian

  • Hero Member
  • *****
  • Posts: 608
  • Hi
Re: XP And PCLOS
« Reply #4 on: December 27, 2009, 07:42:15 AM »
I have the latest PCLOS up to date.
What i'm trying out is i have a 3g connection, and i want to share the connection to my dad's laptop that is running XP with WiFi.
[NO ETHERNET here, WIFI only]
Just connecting is perfect. No problem in that. But i have shared the internet connection in pclos but XP doesn't connect to the internet.
That pc has to use PCLOS to connect to the internet. Anything to install?
I tried Internet Sharing in the PCLOS Control Center and it kept saying that there is no ethernet connection available. My only way is WiFi (10/100 card got busted lately)

Any Suggestions?

(i'm trying to prove my dad that running a linux is better than Windows) Possible?

A year ago I made a connection to a friends WinXP laptop from mine with PCLOS 07 over wifi. No problem. I know you need the opposite of that but that should work too.
 
Maybe your firewall is blocking something.
Freedom is the only way!

Tommylee567

  • Guest
Re: XP And PCLOS
« Reply #5 on: December 27, 2009, 08:43:58 AM »
Thanks both of you. marian, i use xp as a sharing pc and pclos access uses it good.
but using pclos as a internet sharing pc, i.e. using as a server, it is difficult.
No firewalls here. used Firestarter, with or without it, is the same result. Dad had AVG Firewall in XP (which i hate extremely and very much!) i disabled that too, no use still. It connects, but no net sharing.

mokmeister, you misunderstood me. no bridges needed here.
---PCLOS GNOME 2010--using 3G===>>>internet sharing through wifi network===>XP access the  internet.

Thanks!
Tim ;D

Offline marian

  • Hero Member
  • *****
  • Posts: 608
  • Hi
Re: XP And PCLOS
« Reply #6 on: December 27, 2009, 09:46:57 PM »
As far as I remember he couldn't even look to my comp (with PCLOS) although my firewall was turned of. I think there must be something that's blocking that shared connection from your PCLOS system. :)
Freedom is the only way!

Offline spottyrover

  • Full Member
  • ***
  • Posts: 82
Re: XP And PCLOS
« Reply #7 on: December 28, 2009, 12:12:05 AM »
An expensive ( not free  ) but quick way is to buy a 3g router from netgear  ( $100 Australia )

good luck

Dave
pclos 32bit lxde (fast), kernel 3.2.18-pclos2.pae, AMD Athlon(tm) II X4 620, nvidia gforce 8400gs driver 310.19-1pclos. 12 gig ram
Favorite software tvheadend / Xbmc

umuchizkil

  • Guest
Re: XP And PCLOS
« Reply #8 on: January 10, 2010, 09:16:29 PM »
try to add in new line in /etc/rc.local and reboot
---------------------------------------------------------------------------------
# Change device which connect internet: ppp0, eth0 atau eth1
DEVICE=ppp0

# INTERNAL way to INTERNET
iptables -A FORWARD -o $DEVICE -i ! $DEVICE -j ACCEPT

# LOOPBACK from dari INTERNET
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables -A FORWARD -f  -j ACCEPT

# The key of INTERNET sharing
iptables -t nat -A POSTROUTING -o $DEVICE -j MASQUERADE

# Open GATEWAY
echo "1" > /proc/sys/net/ipv4/ip_forward