 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

10th May 2010, 04:10 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
sharing a wireless connection (WPA)
Hi everyone!
first of all I feel I have to say the Im quite new to the Linux world 
Ok here's my problem.
I have fedora12 installed on my old laptop. I would like to use it as a wireless router so that I can use my new laptop without wires
The old laptop will be wired connected to the internet.
I have already tried creating a wireless ad-hoc connection with the Network Manager and I manage to connect to the internet with my new laptop but only if i dont use any protection. If i want that connection to use WPA or WEP-128 it doesnt work!!!
Any idea on what I should do to get this working??
Thank you very much!!!!
|

11th May 2010, 05:27 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
Re: sharing a wireless connection (WPA)
Ok I'll make the question easier since this seems to be too hard...
Does WPA work with an ad-hoc connection?
thanks
|

11th May 2010, 05:33 PM
|
 |
Registered User
|
|
Join Date: Feb 2010
Posts: 86

|
|
|
Re: sharing a wireless connection (WPA)
Her is something:
Quote:
To start WPA adhoc network, create wpa-adhoc.conf:
ap_scan=2
network={
ssid="test adhoc"
mode=1
frequency=2412
proto=WPA
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP
psk="passphrase"
}
and start it:
wpa_supplicant -cwpa-adhoc.conf -iwlan0 -Dwext
here is part of documentation (wpasupplicant-0.6.9/wpa_supplicant/wpa_supplicant.conf):
# mode: IEEE 802.11 operation mode
# 0 = infrastructure (Managed) mode, i.e., associate with an AP (default)
# 1 = IBSS (ad-hoc, peer-to-peer)
# Note: IBSS can only be used with key_mgmt NONE (plaintext and static WEP)
# and key_mgmt=WPA-NONE (fixed group key TKIP/CCMP). In addition, ap_scan has
# to be set to 2 for IBSS. WPA-None requires following network block options:
# proto=WPA, key_mgmt=WPA-NONE, pairwise=NONE, group=TKIP (or CCMP, but not
# both), and psk must also be set.
you do not need to setup any thing before this steps.
WPA2 is currently not supported.
|
|

11th May 2010, 06:30 PM
|
 |
Registered User
|
|
Join Date: May 2006
Location: Northeast USA
Age: 42
Posts: 1,212

|
|
|
Re: sharing a wireless connection (WPA)
I'm interested in the Internet sharing/bridging for a couple of different scenarios. Could have used it over this weekend, but ran out of time.
__________________
Linux provides freedom, the problem is most users don't know what it is or how to use it.
My Blog | Danbury Area Computer Society Board Member | Linux User# : 477531
p.s. Anybody who sees I am incorrect in technical procedures, etc., please feel free to correct me. I'm just figuring this out as I go along. :D
|

12th May 2010, 04:40 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
Re: sharing a wireless connection (WPA)
10sdassarma, I tried what u suggest. I can see the connection from my remote pc and I can actually connect to it... But I don't have any connection to the internet...
Is there anything I'm missing? Should I activate some bridging with the network actually online (on eth0)?
thank you!
|

15th May 2010, 07:18 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
Re: sharing a wireless connection (WPA)
Any idea? Anyone?
|

15th May 2010, 07:39 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107

|
|
|
Re: sharing a wireless connection (WPA)
I think you are missing something in your router - The wireless access point should
have a default route to your firewall/server. You have to enable forwarding on the
firewall/server for the route from your access point to the outside world.
|

15th May 2010, 07:46 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
Re: sharing a wireless connection (WPA)
how to do all of that?
|

15th May 2010, 09:21 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107

|
|
|
Re: sharing a wireless connection (WPA)
That depends on what your environment is and how it is wired up.
Is your firewall a NAT from the ISP? Is the Fedora system going to be that firewall?
Is Fedora going to perform NAT? How many systems are connected?
Is your wired network different from that connected to the access point?
|

15th May 2010, 09:57 PM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 6

|
|
|
Re: sharing a wireless connection (WPA)
Im afraid I can't answer all these questions cos it looks more complicated than I thought... I should learn more about it...
Anyway I just want my linux laptop, connected to the internet thru the interface eth0, to be able to get another laptop of mine online (and ONLY that computer, with a WPA ad-hoc connection)...
Sorry for my inexperience and thanks for the help
|

17th May 2010, 02:21 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107

|
|
|
Re: sharing a wireless connection (WPA)
That may provide some wireless experts the things they need to know.
I have read that some wireless adapters for laptops can't be used as a general
access point. This would prevent what you want, but I believe a google
on "laptop wireless access point with linux" may point you in the general
direction.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 15:28 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|