Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th May 2010, 04:10 AM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
linuxsafari
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!!!!
Reply With Quote
  #2  
Old 11th May 2010, 05:27 PM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
windows_vistasafari
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
Reply With Quote
  #3  
Old 11th May 2010, 05:33 PM
10sdassarma's Avatar
10sdassarma Offline
Registered User
 
Join Date: Feb 2010
Posts: 86
linuxfirefox
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.
Reply With Quote
  #4  
Old 11th May 2010, 06:30 PM
dragonbite's Avatar
dragonbite Online
Registered User
 
Join Date: May 2006
Location: Northeast USA
Age: 42
Posts: 1,212
windows_xp_2003firefox
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
Reply With Quote
  #5  
Old 12th May 2010, 04:40 AM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
windows_7safari
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!
Reply With Quote
  #6  
Old 15th May 2010, 07:18 PM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
windows_7safari
Re: sharing a wireless connection (WPA)

Any idea? Anyone?
Reply With Quote
  #7  
Old 15th May 2010, 07:39 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107
linuxfedorafirefox
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.
Reply With Quote
  #8  
Old 15th May 2010, 07:46 PM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
windows_7safari
Re: sharing a wireless connection (WPA)

how to do all of that?
Reply With Quote
  #9  
Old 15th May 2010, 09:21 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107
linuxfedorafirefox
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?
Reply With Quote
  #10  
Old 15th May 2010, 09:57 PM
qwer0rewq Offline
Registered User
 
Join Date: May 2010
Posts: 6
windows_7safari
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
Reply With Quote
  #11  
Old 17th May 2010, 02:21 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,107
linuxfedorafirefox
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.
Reply With Quote
Reply

Tags
connection, sharing, wireless, wpa

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing net connection via pci wireless card lordamus Servers & Networking 0 8th December 2007 11:59 AM
WPA and internet connection sharing via wireless hellfire[bg] Servers & Networking 0 13th November 2007 09:07 AM
wireless --steps for sharing connection ggeo Servers & Networking 2 3rd August 2007 02:50 PM
Internet Connection Sharing, Desktop (F7,eth0) to Laptop (WinXP, Wireless)? Llanowyn Servers & Networking 1 7th June 2007 07:23 PM
Wireless & connection sharing Cruzader Servers & Networking 3 13th July 2005 03:26 AM


Current GMT-time: 15:28 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat