LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-17-2005, 01:14 AM   #1
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
Connecting in a adhoc wireless nw


I have a pcmcia dlink dwl610 wireless card, that is configured and working perfectly.
I can search networks to connect and stuff.
I tested the card in a wifi net on the mall where I buy this card, they were using no enc. so the only thing need to do was to connect using adhoc directly, right?
But how do I connect in a add hoc net? What I realy want is to browse the net, so what I need to do?
Code:
#ifconfig wlan0 up 
#iwlist scan
#iwconfig wlan0 ap xx:xx:xx:xx:xx:xx essid wpoint mode adhoc 
#dhcpcd wlan0
Is that right?

I tested with a friend too, he was one a notebook and I was on mine, but even finding his winbox as a adhoc computer and even apearing connected as the status on his winbox I couldnt see his files, I tryed smbtree and nothing was showing, but our computer was connected. This may be a config problem in his windows or I have to do anything else?

regards
 
Old 08-17-2005, 02:14 AM   #2
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
there is no "adhoc net". it might exist if A is connected to B and B with other wireless card to C etc, but that "never" happens. adhoc ist just a connection between to computers.

1. you use "dhcpcd wlan0"? does the other pc has dhcp server running? if not you will no be able to get an IP thru dhcp
2. did you get IP? "ifconfig -a" will show you that
3. are you in the same subnet as the other pc?
4. are you able to ping the other pc?

if you are able to ping the other pc, your settings are ok.

if you have IP but are not able to ping, you are probably not in the smae subnet.

if the other pc has no dhcp server running, you will not be able to get an IP from him. you have to set it manually, like i.e.:
# ifconfig wlan0 192.168.05 netmask 255.255.255.0

M.
 
Old 08-17-2005, 02:20 AM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Also, be sure you're both in the same workgroup to see each other files.
 
  


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
problem with Driverloader + WLG1500 wireless adapter in Adhoc mode RohanShrivastav Linux - Wireless Networking 1 11-17-2005 07:19 PM
Infastructure vs. AdHoc CORE244 Linux - Hardware 2 06-12-2005 06:44 AM
Infastructure vs. AdHoc CORE244 Linux - Wireless Networking 11 06-12-2005 01:50 AM
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
connecting 2wire wireless to a linksys wireless pengStudent Linux - Wireless Networking 0 02-09-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:17 AM.

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