LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-17-2005, 12:01 PM   #1
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Rep: Reputation: 0
Internet sharing wireless


Hi all.

I have a fresh Suse 9.3 installation and I'd like to share my internet connection between server (XP Home) and client (Suse 9.3).

I have Intel PRO/Wireless 2200BG in my Suse notebook, rightly installed.

Altough my Suse notebook is able to connect to wireless LAN, internet connection is not up.

I set up IP forwarding in Microsoft XP.


My configuration:

XP:
Wireless connection:
IP: 192.168.0.2
Subnet: 255.255.255.0

SUSE:
Intel PRO/Wireless 2200BG:
IP: 192.168.0.3
Subnet mask: 255.255.255.0

Host name: linux
Domain name: site
X -> Change host name by DHCP
DNS1: 192.168.0.2
Domain: mshome.net

Gateway: 192.168.0.2
X -> IP forwarding


In notebook, I cant' ping the server (192.168.0.2), and no external IP!

What's wrong?
 
Old 09-17-2005, 12:29 PM   #2
rupak
Member
 
Registered: Feb 2003
Location: Bangalore, India
Distribution: RedHat 9 (2.4.20-8, RHL 3.2.2-5), Trying out Fedora Core 1 for x86_64 on Presario Laptop r3140us
Posts: 30

Rep: Reputation: 15
Well I use FreeProxy as proxy server on XP and configure the browsers to use the XP as proxy. You can try the same.
 
Old 09-17-2005, 12:31 PM   #3
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
And this is the output of iwconfig:

eth0 no wireless extensions.
eth1 IEEE 802.111b ESSID:"Wlan" Nickname:"linux"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: 02:0E:35:C2:F5:72
Bit Rate=11 Mb/s Tx-Power=20 dBm
RTS thrff Fragment thf: off
Encryption key: off
Power management: off
Link Quality=95/100 Signal Level=-31 dBm Noise Level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.

 
Old 09-17-2005, 12:35 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What output do you get from:
ifconfig
route -n
 
Old 09-17-2005, 12:36 PM   #5
rupak
Member
 
Registered: Feb 2003
Location: Bangalore, India
Distribution: RedHat 9 (2.4.20-8, RHL 3.2.2-5), Trying out Fedora Core 1 for x86_64 on Presario Laptop r3140us
Posts: 30

Rep: Reputation: 15
Also, what is the IP of your router? Can you ping it?

XP disables ping support by default (internal firewall). You can change it on a per connection basis though. Trying disabling the firewall and see if you can ping.
 
Old 09-17-2005, 01:03 PM   #6
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
Output for ifconfig:

eth0 Link encap:Ethernet HWaddr 00:11:2F:F7:22:BA
inet6 addr: fe80::211:2fff:fef7:22ba/64 Scope:Link
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:4

eth1 Link encap:Ethernet HWaddr 00:0E:35:94:F74
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fe94:f7d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3165 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254 (254.0 b) TX bytes:1506 (1.4 Kb)
Interrupt:4 Base address:0x4000 Memory:ff9ee000-ff9eefff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:114 errors:0 dropped:0 overruns:0 frame:0
TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7372 (7.1 Kb) TX bytes:7372 (7.1 Kb)

Output for route -n:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.2 0.0.0.0 UG 0 0 0 eth1


Last edited by Fayble; 09-17-2005 at 01:05 PM.
 
Old 09-17-2005, 01:09 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try disabling ipv6 as shown here:
http://portal.suse.de/sdb/en/2003/10...illa_ipv6.html

Then reboot.
 
Old 09-17-2005, 01:53 PM   #8
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
ipv6 disabled, no success.

I'm not using a router, within XP I have an USB Wireless device. All is good when I boot XP on notebook.

Firewall disabled in XP and SUSE. I can't ping 192.168.0.2.

 
Old 09-19-2005, 09:25 AM   #9
Fayble
LQ Newbie
 
Registered: Sep 2005
Distribution: Suse 9.3
Posts: 12

Original Poster
Rep: Reputation: 0
Another output:

Code:
linux:~ # iwconfig
lo        no wireless extensions.

eth0      IEEE 802.11b  ESSID:"Wlan"  Nickname:"linux"
          Mode:Ad-Hoc  Frequency:2.412 GHz  Cell: 02:0E:35:69:AE:ED
          Bit Rate=1 Mb/s   Tx-Power=20 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=63/100  Signal level=-32 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth1      no wireless extensions.

linux:~ # iwlist eth0 scanning
eth0      Scan completed :
          Cell 01 - Address: 02:0E:35:69:AE:ED
                    ESSID:"Wlan"
                    Protocol:IEEE 802.11b
                    Mode:Ad-Hoc
                    Channel:1
                    Encryption key:off
                    Bit Rate:11 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 11
                    Signal level=-33 dBm
                    Extra: Last beacon: 4ms ago

linux:~ # ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
From 192.168.0.3: icmp_seq=2 Destination Host Unreachable
From 192.168.0.3 icmp_seq=2 Destination Host Unreachable
From 192.168.0.3 icmp_seq=3 Destination Host Unreachable
From 192.168.0.3 icmp_seq=4 Destination Host Unreachable

--- 192.168.0.2 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms
, pipe 3

linux:~ # ping www.google.com
ping: unknown host www.google.com

linux:~ # ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=0.044 ms
64 bytes from 192.168.0.3: icmp_seq=2 ttl=64 time=0.044 ms
64 bytes from 192.168.0.3: icmp_seq=3 ttl=64 time=0.038 ms
64 bytes from 192.168.0.3: icmp_seq=4 ttl=64 time=0.036 ms

--- 192.168.0.3 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.036/0.040/0.044/0.007 ms
He can ping only himself.

 
Old 09-19-2005, 12:08 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You had eth1 set up with an ip address but that latest iwconfig seems to show the wireless card as eth0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
need wireless internet help mandrake 10 dell inspiron 510m intel wireless 2100 3A nickleus Mandriva 3 11-09-2004 09:52 PM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM
internet sharing bm1 Slackware 3 09-30-2003 04:22 PM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration