LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-14-2004, 07:26 PM   #16
brundles
Member
 
Registered: Nov 2003
Location: UK
Distribution: SUSE 9.2
Posts: 77

Rep: Reputation: 15

Silly question, but I assume you're logged in as root and have write access to the file?
 
Old 01-15-2004, 01:30 AM   #17
nic777
LQ Newbie
 
Registered: Dec 2003
Posts: 23

Rep: Reputation: 15
Hi Pogon/Pogo

You would have to use the console for this:

Code:
su
enter root password
Code:
cd /etc/wlan/
Code:
kwrite /etc/wlan/<name of file> &
use as normal
 
Old 01-15-2004, 09:57 PM   #18
Pogon
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Reply

Yeah yeah, I know all about the root stuff, I just wasn't sure how to edit files under the root permissions.

Thanks
 
Old 01-26-2004, 04:26 AM   #19
giorgiove
LQ Newbie
 
Registered: Jan 2004
Distribution: suse 9 pro
Posts: 5

Rep: Reputation: 0
problems with suse 9 pro and wlan-ng pre 16

hi everybody. I tried the latest wlan-ng 0.21 pre 16 and ran ./configure
when It asks for linux source directory /usr/src/linux
it gives a
In file included from get_version.c:1:
/usr/src/linux/include/linux/version.h:6:2: #error "The kernel sources in /usr/src/linux are not yet configured."
/usr/src/linux/include/linux/version.h:7:2: #error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
/usr/src/linux/include/linux/version.h:8:2: #error "to get a kernel that is configured like the running kernel."
/usr/src/linux/include/linux/version.h:9:2: #error "Alternatively, you can copy one of the config files"
/usr/src/linux/include/linux/version.h:10:2: #error "arch/$ARCH/defconfig.* to .config, and run"
/usr/src/linux/include/linux/version.h:11:2: #error "'make oldconfig && make dep' to configure the kernel"
/usr/src/linux/include/linux/version.h:12:2: #error "for that configuration."
get_version.c: In function `main':
get_version.c:5: error: `UTS_RELEASE' undeclared (first use in this function)
get_version.c:5: error: (Each undeclared identifier is reported only once
get_version.c:5: error: for each function it appears in.)
make: *** [get_version] Error 1
./Configure: line 240: scripts/make.opts: No such file or directory

The kernel source tree is version .
./Configure: line 256: [: -lt: unary operator expected
./Configure: line 261: [: -gt: unary operator expected
WARNING: the current running kernel is actually version 2.4.21-99-default.
WARNING: .config not present in kernel source tree. This will
screw up modversions detection and build optimizations.
Is this a RedHat kernel? Workarounds enabled.
For an optimized build, copy over the relevent file from
/usr/src/linux/configs/ to /usr/src/linux/.config
The current kernel build date is Wed Sep 24 13:30:51 2003.

./Configure: line 332: scripts/make.opts: No such file or directory
Alternate target install root directory on host []:

So when I ran make all It gives a

# make all
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src/mkmeta'
make[2]: *** No rule to make target `../shared/p80211types.c', needed by `.depend'. Stop.
make[2]: Leaving directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src/mkmeta'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src'
make: *** [all] Error 2
giorgio:/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16 #


PLEASE, please can anybody give me some idea of what is happening?
giorgio
 
Old 01-26-2004, 05:11 AM   #20
giorgiove
LQ Newbie
 
Registered: Jan 2004
Distribution: suse 9 pro
Posts: 5

Rep: Reputation: 0
new problem

It's me again.. work in progress..
I run a make cloneconnfig && make dep in /usr/src/linux
configure goes fine but when I run make all I get a

giorgio:/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16 # make all
set -e; for d in src doc man etc; do make -C $d ; done
make[1]: Entering directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src'
set -e; for d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; done
make[2]: Entering directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src/mkmeta'
ngcc -E -M -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c ../shared/p80211types.c ../shared/p80211metamsg.c ../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > .depend
/bin/sh: line 1: ngcc: command not found
make[2]: *** [.depend] Error 127
make[2]: Leaving directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src/mkmeta'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gio/Documents/software/linux/ma111/linux-wlan-ng-0.2.1-pre16/src'
make: *** [all] Error 2

now I really get lost. What's happening and what should I do?

thank you
 
Old 01-27-2004, 10:39 AM   #21
giorgiove
LQ Newbie
 
Registered: Jan 2004
Distribution: suse 9 pro
Posts: 5

Rep: Reputation: 0
no need to reply

I reinstalled suse 9 pro and now it works. should be something when I tried to install a netgear wg511 that doesn't work on my computer

I installed the driver and everything went fine
this is the tail message when I insert the usb device

Jan 27 17:30:03 gio kernel: hub.c: new USB device 00:03.0-2, assigned address 5
Jan 27 17:30:03 gio kernel: usb.c: USB device 5 (vend/prod 0x846/0x4110) is not claimed by any active driver

then I made an alias wlan0 prism2_usb in /etc/modules.conf

I created a /etc/wlan/wlancfg-wkiki file

...but I don't know exactly what to write in


I edited the /etc/wlan/wlan.conf
and changed SSID_wlan0="wkiki"

then I created a /etc/sysconfig/network/ifcgc-wlan0 file

WIRELESS="no"
BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
UNIQUE=''
WIRELESS_ESSID='wkiki'
WIRELESS_KEY=''
WIRELESS_MODE='Ad-hoc'
WIRELESS_NICK='a1'
WIRELESS_NWID='a1'

.. but still nothing happens when I reboot

where am I wrong?


giorgio
 
Old 01-28-2004, 06:06 PM   #22
GenuineND
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Re: no need to reply

Quote:
Originally posted by giorgiove

Jan 27 17:30:03 gio kernel: usb.c: USB device 5 (vend/prod 0x846/0x4110) is not claimed by any active driver

Oops. This doesn't look good. As long as you get that error message something's wrong with your driver installation.

What kernel version are you running?
 
Old 01-29-2004, 12:50 AM   #23
giorgiove
LQ Newbie
 
Registered: Jan 2004
Distribution: suse 9 pro
Posts: 5

Rep: Reputation: 0
kernel used

Hi. my kernel is the standard suse (don't even know how to change it - on the box it says 2.4.21

http://www.linuxquestions.org/questi...eadid=113211&#
 
Old 03-25-2004, 08:47 PM   #24
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
Distro: Suse Linux 9.0 Profressional

i just have a few question about how you all were able to get the adaptor working.

1. Since i'm a newbie at this can you be so kind to tell me how to do a "make" command so i can install the rest of the driver? I've already untarred the pre11 driver, but i'm stuck on how to use make or run ./Config

can some explain the exact command/code to write in the Konsole/shell?
(the "make XXX" command and the "run XX" command)

2. After everything is all said and done what directory contains the file for configuration?

Thanks alot
 
Old 03-26-2004, 12:42 AM   #25
giorgiove
LQ Newbie
 
Registered: Jan 2004
Distribution: suse 9 pro
Posts: 5

Rep: Reputation: 0
move to mandrake 10

Suse doesn't allow to have a decent wireless connection with the drivers installed. yast messes up everything. so I moved to mandrake 10. et voilą! everything ok. the wireless works beautifully and easily.
I recommend it
 
Old 03-26-2004, 03:08 PM   #26
GenuineND
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Good choice. That's why I started to hate SuSE in the first place.
 
Old 04-16-2004, 08:35 PM   #27
suppaman
LQ Newbie
 
Registered: Apr 2004
Location: Malaysia
Distribution: SuSE
Posts: 15

Rep: Reputation: 0
I did wat was told. however, I had set up the encryption mode. Therefore, I need help in this.

Anyone got an idea? I am stucked.
 
Old 04-16-2004, 08:55 PM   #28
suppaman
LQ Newbie
 
Registered: Apr 2004
Location: Malaysia
Distribution: SuSE
Posts: 15

Rep: Reputation: 0
ops.

I found problem. I disable encryption but it still cannot work. Btw, how to do the rc.local part? I not really sure. Thanks for the help.
 
Old 05-02-2004, 11:19 AM   #29
jayjay1784
LQ Newbie
 
Registered: May 2004
Posts: 9

Rep: Reputation: 0
http://www.linuxquestions.org/questi...hreadid=176928
 
Old 06-05-2004, 07:31 PM   #30
nhaas
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Pogon:

The file is owned by root, either change the config owner or login as root to save the file.


nhaas
http://www.susediary.com
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems setting up SuSE 10 with a Netgear WG111V2 USB Adapter p3980 Linux - Wireless Networking 14 01-25-2007 05:00 AM
Netgear MA111 USB wireless adapter TWF MEPIS 1 10-18-2005 04:50 AM
Advice on Netgear USB adapter discobbolos Linux - Wireless Networking 1 04-04-2005 02:18 AM
Netgear WG121 USB adapter Ice Dragon Linux - Wireless Networking 9 09-18-2004 04:32 AM
HELP! - Netgear USB MA111 Adapter in FC2 07mackenzie Linux - Wireless Networking 37 09-12-2004 12:44 PM


All times are GMT -5. The time now is 08:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration