LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-27-2006, 09:21 AM   #1
wahaha
Member
 
Registered: Jul 2006
Posts: 130

Rep: Reputation: 15
add content to .config file


halo.... currently i had successfully installed a ndiswrapper-1.23 into fedora core 4, 2.6.11-1.1369_FC4 after installed 16K stack size.

Now i am trying to configure wlan0 interface and i found out one link as below:
http://www.linuxhomenetworking.com/w...ess_Networking


From the link, on the part of "Installing and Configuring ndiswrapper", step10:
10. You will always need to have a ndiswrapper compatible kernel for the application to function correctly. To maintain your current kernel during yum updates, edit your /etc/yum.conf file to exclude the kernel from being kept up to date with the exclude option.

#
# File: /etc/yum.conf
#

exclude= kernel




As well as on part of "Configure The New wlan0 Interface":


Edit /etc/sysconfig/network-scripts/ifcfg-wlan0 to include these new lines:

DHCP Version Fixed IP Version
============ =================

DEVICE=wlan0 DEVICE=wlan0
USERCTL=yes IPADDR=192.168.1.100
ONBOOT=yes NETMASK=255.255.255.0
BOOTPROTO=dhcp ONBOOT=yes
BOOTPROTO=static



I just able to read the file only and not able to edit or add informations to the file.
Did anyone have any ideas???
Your advices are much appreciated !!!
 
Old 08-27-2006, 10:14 AM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
perform an ls -la /etc/yum.conf in a terminal to show permissions on the file. If you're logged in as root and still cannot write to the file, the file is probably --R--R--R in which case you can use :w! in vi (or vim) to force write the file

cheers

Last edited by nilleso; 08-27-2006 at 10:16 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
add a new section to your X config file dalan Linux - General 5 07-27-2006 07:15 PM
Add file content to a variable (bash)? LinuxSeeker Programming 4 12-19-2005 01:41 PM
how to add content to KDE help center of SuSE Linux zhaosj SUSE / openSUSE 1 11-14-2005 02:43 AM
find the same content in the file ust Linux - Newbie 5 03-23-2005 03:03 AM
Apache config file to add header and footer mindstormsguy Linux - Software 2 05-02-2004 12:48 PM

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

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