LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2011, 06:22 PM   #1
poltak
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Ad-HOC connection via ethernet


Hello,

Been a GNU/Linux user for a while, although networking is where I completely fall short.
Just wondering how if it's possible to create an adhoc connection between my desktop and my netbook via a cat5 cable connected to each?
My desktop is running Ubuntu 11.04 x86-64 while my netbook is on Arch x86.

They both have wireless capabilities if wired is not possible.

Thank you for your time,
poltak
 
Old 08-03-2011, 07:00 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
So I am guessing that when you say "AdHoc", you don't mean the actual WiFi AdHoc mode, but rather just connecting the two machines together.

You can connect to machines together as long as you have a crossover Ethernet cable, a hub or switch, or if the Ethernet cards are auto-sensing. It sounds like in this case you would want to use a crossover cable, as you don't have a switch/hub, and it is unlikely those devices are auto-sensing.

It would actually be easier to do this over WiFi though, as WiFi has a dedicated AdHoc networking mode where devices can communicate with each other directly rather than through an intermediary hub.
 
Old 08-03-2011, 07:36 PM   #3
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
Crossover cables schemes can be found via wikipedia.org, usually internet cable modems have one in box. Difference is ~2 cable contacts on one side of cable change places.So in worst case scenario you can cut "normal cable", put wires in order and attach one new RJ head.

Wireless with good antenna(i found that my usb stick is working better then PCI + shipin antenna) on other hand is far more usable with portable devices (~books,mobile).
 
Old 08-03-2011, 07:38 PM   #4
poltak
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ah, thank you. I thought an AdHoc connection was just any temporary connection between two devices :P

Anyway, I do have an old switch lying around somewhere, I know that. But yeah, how does AdHoc networking mode over WiFi work? It's built into network-manager, I presume? What's the advantage of having this mode over an sshfs connection?
 
  


Reply



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
how to configure ad-hoc connection in fedora 14. magicalshashank31 Linux - Networking 1 05-04-2011 10:49 AM
How can I make a wireless ad-hoc connection? dhanar_10 Linux - Wireless Networking 15 10-25-2007 03:32 PM
ethernet connection going up and down kpachopoulos Linux - General 2 03-06-2006 01:47 PM
ad-hoc connection (and internet sharing) between two linux boxes. A complex question. riccisit Linux - Wireless Networking 1 09-29-2005 09:02 AM
ethernet connection vishi_82 Linux - Newbie 1 10-27-2003 05:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration