LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-06-2006, 08:32 PM   #1
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
Hi Very New to Linux So far No Success


Hello I'm new to linux and since I now have a spare (slightly malfunctioning) harddrive at my disposal I'd like to try Linux fully. I've experimented with boot linuxes (live cds) before. I would like to continue using boot linuxes until I get it but have never been able to get all the drivers to work on any computer I have (3).

Also, I haven't a clue how to operate linux. I don't know how to get into the
1: install drivers
2: file manager
3: install programs
4: connect to the internet with a 56k modem, or wireless card. Niether ever gets detected.

or do anything much else besides click on utilities in menus that never work anyway.

One distribution of a Boot linux did seem to operate well (mouse, battery, sound, cd player etc) on my laptop however it wasn't able to detect the PCMCIA network card I have.

A. So I'd like to start there. My network card does come with a linux driver which I downloaded already. How can I install this driver? Should I burn it to a CD? Will the cd bootable linux be able to read the cd and install the driver into RAM? If so how do I do it?

B. For later, which boot linux would work best on my laptop (meaning all the drivers work)?

I have a Compaq Presario 906US
Mobile AMD Athlon 1500 1.33Ghz
with a 20gig Toshiba 4200rpm hard drive,
256mb Ram
RADEON IGP 320m with 16mb of shared memory
Toshiba DVD ROM/CDR SD-R2312
Conexant HSFi V.92 MiniPCI modem
Realtek RTL8139 C+ Fast ethernet NIC network card
An Aftermarket (Compusa brand) Realtek RTL8185 Wireless LAN (Mini-) PCI NIC wireless network card which works really well with windows zero config
Soundmax Integrated digital audio and Legacy audio drivers.
External optical mini 3 button wheel mouse (generic compusa brand)

THANKS!
 
Old 12-06-2006, 08:49 PM   #2
Tralce
Member
 
Registered: Nov 2006
Location: Maine
Distribution: Debian, Ubuntu, Gentoo
Posts: 109

Rep: Reputation: 15
Try downloading and installing Zenwalk. Use ndiswrapper with the Windows Wifi driver.
 
Old 12-06-2006, 09:48 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I've never had much luck getting the HSF modems to work in Linux (software modems are very tricky to get working because the manufacturers don't tend to release much information about them). However, there is a driver under development for the RTL8185 wireless chipset -- see this page for more info. I'd suggest trying a native driver before having to resort to NDisWrapper.
 
Old 12-07-2006, 01:43 AM   #4
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Zenwalk

Thanks, Tralce, I saw http://www.zenlinux.org/ in the list of distrobutions. Is that the same as Zenwalk? Can that be booted and run from a CD (livecd)?
Now I just need learn how to do the following.

1: install drivers
2: file manager
3: install programs

How does one get into the C: or D: drive or cd drive etc to install the drivers.

btmiller: I was able to download a linux driver for the rtl8185 wireless card from the realtek website. http://www.realtek.com.tw/downloads/...Downloads=true
Yet how do I make it work? Should I burn it to cd and try to run/install it while in whatever bootlinux that works? What are the commands? How do I run a tar.gz file? Where do I type the commands? Like I said Im very new. Reading the instructions on the link you provided it says I need a "separate ieee 802.11 stack that is in ieee80211 CVS branch." What is a stack?

Thanks much off to download.

Last edited by tropgreen; 12-07-2006 at 01:54 AM.
 
Old 12-07-2006, 07:30 AM   #5
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Quote:
Now I just need learn how to do the following.
1: install drivers
2: file manager
3: install programs
Go to LQ bookmark and search for rute or admin or newbie guide to help your learning curve

Quote:
slightly malfunctioning) harddrive
Do not blaim linux if something does not work

Quote:
How do I run a tar.gz file
See sticky in mandriva forum
 
Old 12-07-2006, 08:49 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
You can also check the Linux on Laptops website for a listing of your hardware to see how someone else managed to solve the problems you are working on..

Unfortunately the only listing for your hardware is for a different distribution than you are using, but the drivers and configurations should still be pretty much the same. Slackware on a Presario 906US there are links to numerous drivers for the system including wireless, touchpad, modem, etc..

Best of luck !!
 
Old 12-07-2006, 08:58 AM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
modems: google for scanmodem + technion

re laptop: often disabling acpi make your life easier, so acpi=off during install might be a big plus whatever the distro
 
Old 12-07-2006, 08:26 PM   #8
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Emmanuel_uk
Quote:
slightly malfunctioning) harddrive
Do not blaim linux if something does not work
I wasn't blaming anything. The second Harddrive is an old one with some bad sectors on it but otherwise works so I thought I'd use it for linux. I do blame a particular game for killing it tho.

Tralce, Zenwalk isn't a live cd linux. I'd like to experiment on livecd distributions first.

How do I use ndiswrapper? How does one install it? How do you load it and apply it to adding drivers? Remember I've never used linux before other than just attempting to boot them up. I'll go ahead and read everyone's suggestions then get back

Thanks
 
Old 12-08-2006, 02:19 AM   #9
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Quote:
How does one install it?
http://ndiswrapper.sourceforge.net/m...p/Installation

A bit of homework and your own research is generally expected in this forum. So I quick started you with a link. Saying that many distro have ndis pre-installed.
Visit the wiki above, the list especialy

Worse comes worse you could come back saying I googled for this with these keywords and found nothing, people would then help you to refine searches

Quote:
Go to LQ bookmark and search for rute or admin or newbie guide to help your learning curve
Did you? I know some will be way over your head but you need to start somewhere. Here is why
http://linux.oneandoneis2.org/LNW.htm

I may have a harsh "teaching approach", nevermind
Keep posting if you encounter difficulties
 
Old 01-08-2007, 07:22 AM   #10
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Still no luck with the wireless card.

I played around with Knoppix and finally discovered Ndiswrapper (couldnt someone have just told me where it was?) in one of the myriad of menu items and after a dozen trial and error attempts on how to get it to run, installed the inf file for my wireless card which gave me a light blinking on the card! The card finally recognized the wireless networks in my area. I almost thought it was success HOWEVER! while using Kwlan (is that the same as iwconfig?) I was unable to ADD my network into the profile list. It refused to be added. (how do I access the iwconfig executable directly?) I was able to add profiles by clicking on New but the drop down menus in the config were grayed out and I couldn't add a passphrases or select the security level. So no luck. ARGH!

One version of live boot knoppix works very well, ie it detects my mouse. When using it as a live CD it seems to know my harddrive and USB flash drive are there but I have no clue how to access them. Please could someone answer this for me? So after belabored attempts to establish some partitians and format I finally installed it to the drive. For some reason the mouse wouldnt work from when it is booted from the hard drive. Ok so I used what I learned from Knoppix to try and install my wireless card however I can not find the executable for Ndiswrapper. I discovered a folder with ndiswrapper files in it but none I click on is an executable like in the newest Knoppix version.

ok So I played around with command prompt and was able to get something to happen using the linux driver I downloaded for my wifi card. However, I couldn't get past that and no lights on the wireless card.

Ps. I never took a computer class in my life. Never learned dos or command prompt. I think that is key as I'm groping around the command prompt like a blind rat. A few years ago I bought a PC and learned Windows in 2 weeks and a great deal more after buying a laptop with XP including editing Group policies.
Please I just want to know how to install drivers for now and get everything working and then everything will fall into place. Shouting out "USE KBLAST SUPREME!" Doesn't help without telling me 1st where in the menus it is, 2nd what the executable looks like and how to use it. If I have to use it from the command prompt what are the lines of text to type in. Command prompt is a headache because if you miss a / here or a : there you have start right back at the beginning of the line again.
 
Old 01-08-2007, 08:07 AM   #11
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Is the mouse still not working from the installed version of Knoppix on the HD?

Personal opinion: I would start from PClinuxOS or mandriva, rather than knoppix, especially to learn linux. Saying that you have done the right move by installing the OS on the HD, your learning curve will be easier.

Learning: Go to LQ bookmarq and search for newbie,
admin guide, then rute guide; maybe a bit difficult at first but good fundation

Command line: I know a pain a first, but when people do not know what the menues are like they can help by giving you command lines

Quote:
can not find the executable for Ndiswrapper
Probably because you were not root (all powerfull user)
Start a terminal, type su or sudo su (I might be wrong) then you will be root
then type
ndi
then press <tab> key, ndiswrapper command should autocomplete

sorry I answered only 1% of your query
 
Old 01-08-2007, 08:27 AM   #12
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yeah for some reason the mouse didn't work from the HD installed version. (still I don't know how to install drivers -successfully - after the OS has booted) I realize I learned how to go into the root account AFTER searching for ndiswrapper so thanks for pointing that out. I'll look for it while in the root account. Trying to install Zenwalk on a 4th partitian wrecked my OS boot menu and gave me an error #7 (?) so I have to start over again.

Yeah I searched in Bookmarks for each of those topics.
http://www.linuxquestions.org/bookmarks/search/ <-here right?
and received the following message "No bookmarks available" each time.

Sorry if I am being lazy when it comes to reading. Looks like I'm going to have to spend some hours on it. (I'm usually the type who doesn't read the owners' manuals on things until after I work it out myself, just in case there are any details I missed.)

Ok now that I finally have a handful of new CDrs and a new hard drive I'll experiment on those distris you mentioned --> PClinuxOS or mandriva

Oh yeah one question: Why couldn't I "ADD" my network to the network lists or edit the configuration settings after manually adding in Kwlan?

Also how do I run the executable for iwconfig? NDiswrapper and others keep saying I can now use that but I can't seem to find it. I was able to experiment with it in the command prompt however to no success.

Also something called a Supplicant seems to be supposed to run. There is a file wpa_supplicant-0.4.9.tar.gz in my nic driver folder but I dont know what to do with it.

Last edited by tropgreen; 01-08-2007 at 08:31 AM.
 
Old 01-10-2007, 05:54 PM   #13
tropgreen
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Ok using a version of Kanotix

Or it's KDE. I tried both PCLinuxOs and Mandriva. So far the ones that worked the best were Knoppix and Kanotix. So I am sticking with Kanotix since I successfully installed it on my hard drive. For some reason again the PS2 mouse doesnt work from the hard drive installed version except when it is installed in the USB port, however I need the USB port for the flash drive or floppy and my other usb port is broken.

Still can not get the wireless card to work which is mission #1.

I am still unable to run ndiswrapper even though I know it is on the OS as there is a folder for it and a couple other drivers running in that folder which function I don't know. I'll paste both the readme file for the wireless driver and the command prompt output that appears after I try to follow the directions. If anyone is able to see what is wrong and tell me any solutions I'd be very grateful.

I searched for a way to include this as an attachment but couldnt find it. Sorry its so long.

RTL8185 Linux Driver v1010.0531.2006 for linux kernel 2.6
- Support Client mode for either infrastructure or adhoc mode
- Support WEP and WPAPSK connection

========================================================
< Component >
The driver is composed of several parts:
(1)source code
r818x.tar.gz
stack.tar.gz
(2)Script ot build the modules
makedrv
(3)Script to load/unload modules
wlan0up
wlan0down
(4)Script and configuration for DHCP
wlan0dhcp
ifcfg-wlan0
(5)Supplicant source code
wpa_supplicant-0.3.8.tar.gz
(6)Example of supplicant configuration file
wpa1.conf

< Installation >

Running the scripts can finish all operations of building up modules from source code and start the nic:
(1)Build up the driver from the source code
./makedrv
(2)Load the driver module to kernel and start up nic
./wlan0up
(if "insmod: error inserting 'r8180.ko': -File exists." met,
./wlan0rmv
./wlan0down
./wlan0up
should be OK. )

(3)Refer to < Set wireless lan MIBs > to set Wireless LAN specific parameters.
< Set wireless lan MIBs >
This driver uses Wireless Extension as an interface allowing you to set Wireless LAN specific parameters.

Current driver supports "iwlist" to show the device status of nic
iwlist wlan0 [parameters]

where
parameter explanation [parameters]
----------------------- -------------
Show available chan and freq freq / channel

Show and Scan BSS and IBSS scan[ning]

Show supported bit-rate rate / bit[rate]

Show Power Management mode power

For example:
iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate
iwlist wlan0 power

Driver also supports "iwconfig", manipulate driver private ioctls, to set MIBs.

iwconfig wlan0 [parameters] [val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Connect to AP by address ap [essid]
Set the essid, join (I)BSS essid [mac_addr]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key / enc[ryption] {N|open|restricted|off}

For example:
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 mode essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789

< Getting IP address >

After start up the nic, the network needs to obtain an IP address before transmit/receive data.

This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS" command, or using DHCP.

If using DHCP, setting steps is as below:
(1)connect to an AP via "iwconfig" settings
iwconfig wlan0 essid [name] or
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX

(2)run the script which run the dhclient
./wlan0dhcp
or
dhcpcd wlan0

(Some network admins require that you use the hostname and domainname provided by the DHCP server.
In that case, use dhcpcd -HD wlan0)

< WPAPSK >
WPA_SUPPLICANT help the network to communicate under the protection of WPAPSK mechanism
(1)Unpack source code of WPA supplicant:
tar -zxvf wpa_supplicant-0.4.9.tar.gz
cd wpa_supplicant-0.4.9

(2)Create .config file:
cp defconfig .config

(3)Edit .config file, uncomment the following line:
#CONFIG_DRIVER_IPW=y.

(4)Build WPA supplicant:
make

If make error for lack of <include/md5.h>, install the openssl lib:

1. Install the openssl lib from corresponding installation disc:
Fedora Core 2/3/4/5(openssl-0.9.71x-xx), Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl), Gentoo(dev-libs/openssl), etc.
2. Download the openssl open source package from www.openssl.org, build and install it.

(5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
For example, the following setting in "wpa1.conf" means SSID to join is "BufAG54_Ch6"
and its passphrase is "87654321".
network={
ssid="BufAG54_Ch6"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2 }

(6)Execute WPA supplicant (Assume 8185 and related modules had been loaded):
./wpa_supplicant -D ipw -c wpa1.conf -i wlan0 &

Output with errors:

root@box:~# cd /home/iios/Desktop/wireless
root@box:~/Desktop/wireless# makedrv
bash: makedrv: command not found
root@box:~/Desktop/wireless# ./makedrv
ieee80211/
ieee80211/ieee80211_tx.c
ieee80211/Modules.symvers
ieee80211/ieee80211_softmac_wx.c
ieee80211/LICENSE
ieee80211/ieee80211_rx.c
ieee80211/ieee80211_crypt_tkip.c
ieee80211/ieee80211_crypt.h
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_module.c
ieee80211/Makefile
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/ieee80211.h
ieee80211/ieee80211_softmac.c
ieee80211/README
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211_crypt.c
rtl818x-0.1/
rtl818x-0.1/r8180_wx.h
rtl818x-0.1/r8180_wx.c
rtl818x-0.1/r8180_rtl8225.h
rtl818x-0.1/r8180_rtl8255.h
rtl818x-0.1/AUTHORS
rtl818x-0.1/r8180_max2820.c
rtl818x-0.1/r8180.h
rtl818x-0.1/r8180_max2820.h
rtl818x-0.1/tags
rtl818x-0.1/r8180_sa2400.h
rtl818x-0.1/r8180_93cx6.c
rtl818x-0.1/ieee80211.h
rtl818x-0.1/r8180_gct.c
rtl818x-0.1/r8180_gct.h
rtl818x-0.1/.r8180_core.o.d
rtl818x-0.1/r8180_rtl8225.c.old
rtl818x-0.1/Modules.symvers
rtl818x-0.1/CHANGES
rtl818x-0.1/LICENSE
rtl818x-0.1/r8180_93cx6.h
rtl818x-0.1/README.master
rtl818x-0.1/r8180_hw.h
rtl818x-0.1/README
rtl818x-0.1/r8180_pm.c
rtl818x-0.1/r8180_sa2400.c
rtl818x-0.1/COPYING
rtl818x-0.1/README.adhoc
rtl818x-0.1/r8180_rtl8225.c
rtl818x-0.1/.tmp_versions/
rtl818x-0.1/.tmp_versions/r8180.mod
rtl818x-0.1/INSTALL
rtl818x-0.1/r8180_rtl8255.c
rtl818x-0.1/r8180_core.c
rtl818x-0.1/r8180_pm.h
rtl818x-0.1/Makefile
rtl818x-0.1/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/iios/Desktop/wireless/ieee80211/tmp
make -C /lib/modules/2.6.11-auditor-10/build M=/home/iios/Desktop/wireless/ieee80211 CC=gcc modules
make: *** /lib/modules/2.6.11-auditor-10/build: No such file or directory. Stop.
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/iios/Desktop/wireless/rtl818x-0.1/tmp
make -C /lib/modules/2.6.11-auditor-10/build M=/home/iios/Desktop/wireless/rtl818x-0.1 CC=gcc modules
make: *** /lib/modules/2.6.11-auditor-10/build: No such file or directory. Stop.
make: *** [modules] Error 2
root@box:~/Desktop/wireless# ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8180.ko': No such file or directory
wlan0: ERROR while getting interface flags: No such device

root@box:~/Desktop/wireless# ./wlan0rmv
ERROR: Module r8180 does not exist in /proc/modules

ERROR: Module ieee80211_r8180 does not exist in /proc/modules

ERROR: Module ieee80211_crypt_r8180 does not exist in /proc/modules

Last edited by tropgreen; 01-10-2007 at 06:00 PM.
 
Old 06-13-2007, 10:52 PM   #14
theriddle
Member
 
Registered: Jun 2007
Distribution: Gentoo
Posts: 172

Rep: Reputation: 30
I think you need the driver build package (kernel-devel on my Fedora Core system.) Note that if you see the word 'error', it probably means to 'go no further.'
 
Old 06-13-2007, 11:37 PM   #15
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
in KDE, if you click on the menu and got to internet and click on konquerer thats is your file manager, and to install programs on Knopppix, there should be something called Adept, you might have to look around for it in the kmenu and that is called a package manager and that is where you install programs from, and also a really user-friendly distro is ubuntu, I got Ndiswrapper working in about 5 minutes
 
  


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
Report your Linux installation and configuration success story to the Linux Tutorials t3gah Linux - Laptop and Netbook 2 04-23-2005 01:14 AM
some of my success stories using linux eeyoree LinuxQuestions.org Member Success Stories 1 01-08-2005 12:53 PM
Linux Success masinick LinuxQuestions.org Member Success Stories 2 11-29-2004 03:32 PM
Vector Linux - Another Success !! rvijay Linux - Newbie 10 05-20-2004 01:13 AM
linux and webcams: success? punt Linux - General 7 08-11-2001 01:28 AM


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