LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-19-2008, 06:20 PM   #16
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751

Or as the normal user you should be able to get at it by specifying the path to the ifconfig cmd:

/sbin/ifconfig
 
Old 05-20-2008, 01:30 AM   #17
fmpfmpf
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
simple wireless router & ip command

i am using Ubuntu 7.10
my laptop is connected to a wireless to a host.
how can i check the ip address of the host from my laptop?
tq
 
Old 05-20-2008, 02:13 AM   #18
fmpfmpf
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Ad-Hoc problem

i have 2 laptops and both have WLAN.
Laptop A has Ubuntu 7.10
Laptop B has Ubuntu 7.04

i am trying to link the 2 laptops using Ad-Hoc
Laptop A is the transmitter and B is the receiver

in A, i type "ifconfig eth2 10.10.10.1 netmask 255.255.255.0 broadcast 10.10.10.255 up"

B is now connected to "Test"
However, when i type "ping 10.10.10.254", it says:-
From xxx.xxx.x.xxx icmp_seq=2 Desination Host unreachable
From xxx.xxx.x.xxx icmp_seq=3 Desination Host unreachable
From xxx.xxx.x.xxx icmp_seq=4 Desination Host unreachable
and so on until i hot Ctrl + C

What is the problem?
pls help me

p/s :- i am used this website for instructions.
http://www.wlug.org.nz/WirelessSetupNotes

thank you
 
Old 05-20-2008, 02:24 AM   #19
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 05-20-2008, 02:26 AM   #20
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
If you want to find the IP of your own machine, then use the command "ifconfig". If you want the IP of the AP, then you might want to start with the output of "route" (we assume that the AP is the default router for your network).
 
Old 05-20-2008, 02:32 AM   #21
fmpfmpf
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
i see many adresses. Which one is my ip?
What is the route command?

tq
 
Old 05-20-2008, 03:33 AM   #22
fmpfmpf
LQ Newbie
 
Registered: May 2008
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ddaemonunics View Post
You must first check if the wireless card suports AP mode or "master mode" and if so enable it and configure.
Then all you have to do is enable forwarding between the ethernet and the wireless card.

check gentoo-wiki.com/HOWTO_Building_a_Wireless_Access_Point
is AP and master mode the same?
just to be sure, how do i check if i have it?

tq
 
Old 05-20-2008, 04:13 AM   #23
advanxiang
LQ Newbie
 
Registered: May 2007
Posts: 20

Rep: Reputation: 0
you may use 'iwconfig' to query your wlan device ,then one of them is built ad-hoc site , another will be search for by 'iwconfig xxx essid any'.
 
Old 05-20-2008, 04:26 AM   #24
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread
in the most relevant forum will make it easier for members to help
you and will keep the discussion in one place.


I merged your five threads on the same topic into one, and would
ask you to revisit our rules that you agreed to when signing up,
and stop that annoying behaviour.



Cheers,
Tink

Last edited by Tinkster; 05-20-2008 at 04:28 AM.
 
  


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
Command to start Wireless KOTAPAKA Linux - Wireless Networking 3 03-01-2008 11:50 AM
wireless linux via command line Four Linux - Newbie 1 12-27-2006 10:27 PM
Running wireless command on boot RoiSoleil14 *BSD 2 03-05-2006 07:22 PM
Can't activate wireless card from command line jdrietz Slackware 21 02-01-2006 11:57 PM
forgot the wireless config command... ronsha Linux - Wireless Networking 5 11-18-2005 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 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