LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-10-2005, 05:38 PM   #1
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Rep: Reputation: 15
Configuring my mouse scroll button.


Hello everyone.

I installed slackware 10.1 today and everything went as planned. I have made a new user made the kdm login screen work setup the X windows server among other things. I however have 2 problems.

1) The scroll button on my Logitech PS/2 scroll mouse i believe (5 buttons- left, right, middle scroll (press down), scroll up, scroll down). I used xorgsetup to setup the X server so it did it for me automatically. I then went to the file /etc/X11/xorg.conf as root to change it for scroll mouse. It currently looks like this.

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

However this does not work. When i installed slackware from the cd. I do believe that i put PS/2 mouse, as I did not know that it was supposed to be IMPS/2. When i first opened this file, instead of saying "IMPS/2" it said "auto". I dont know if I have to maybe change this setting in another file.

2) When I installed slackware 10.1 from the CD I chose to not configure my network then. It told me that this could be done at a later time. So now my internet does not work and I am not sure where to configure my network. I currently have AOL dsl(cable) setup at my house.


Thank you in advance.

~slackware1299
 
Old 04-10-2005, 05:47 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
1) Use imps2
2) Netconfig
 
Old 04-10-2005, 05:47 PM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
1) Try putting Buttons "5" above ZAxisMapping
2) You can use the netconfig utility or manually editing /etc/rc.d/rc.inet1.conf and then restart the network with /etc/rc.d/rc.inet1 restart
 
Old 04-10-2005, 05:55 PM   #4
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
i tried putting buttons 5 before ZAxisMapping but it made no difference
anything else?

i will use netconfig to get network up, this should let me use internet right?
EDIT: i went through netconfig, gave my network a name, chose localdomain, then DHCP server to configure Ethernet, however I didnt know my username for the DHCP, so i just pressed enter, and I was done. However I can still not use the internet. Am I supposed to be using netconfig to setup my internet? I have wireless internet (dsl, cable). I use wireless linksys router.

thanks for all responses.

Last edited by slackware1299; 04-10-2005 at 06:14 PM.
 
Old 04-10-2005, 06:31 PM   #5
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

Is your wireless card correctly identified?
Post the output of
/sbin/ifconfig
 
Old 04-10-2005, 06:42 PM   #6
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Wow, this is really weird. Last time I was on, I did alsaconfig to configure the sound. I wasnt sure how to lower it, so all I did was unclick on enable the sound, to turn it off, and I got some weird error about some programming(guessing some sound program) crashing. I then restarted the computer, loaded linux, and everythign seems to be like normal. It load the kernel, but when it gets to that part where it should load the KDM( i set it up as my login, I had done this earlier and restarted since then earlier so it did work) but it freezes at the statement: Starting up X11 session manager.
Why is this?

I cant do anything like startx or login. I just have to to do ctrl-alt-del to restart teh computer.

EDIT: When LILO loaded, instead of just clicking on Linux, I did,
Linux init 3
which loaded kernel and took me to login in bash instead of KDM,
i then logged in and did startx which gave me a fatal error, so i redid xorgsetup
and went in startx and everything I had done. The small configurations I had made were gone such as the lines I had added to the xorg.conf for the mouse as well as the changing the init to 4 and to KDM. Everything I ahd done seemed to be gone. I just redid it all again. What may have caused this? I had just run netconfig and changed the name so it now said root@[new name] instead of the old root@darkstar
could this have caused it? The sound still doesnt work, dont know what happened to it.

Also, why would i want to create 7 buttons?, i dont have that many on my mouse.

Last edited by slackware1299; 04-10-2005 at 09:28 PM.
 
Old 04-10-2005, 09:48 PM   #7
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
here is what ifconfig gives me if this helps

ifconfig
lo Link encap:Local loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU 16436 Metric:1
Rx packets:0 errors:0 dropped:0 overruns:0 frame:0
Tx packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Rx bytes:0 (0.0 b ) Tx bytes:0 (0.0 b )

doesnt look like I have an eth0 device, so either its not configured right, or its not supported, what do I do now?

Last edited by slackware1299; 04-10-2005 at 09:49 PM.
 
Old 04-10-2005, 10:19 PM   #8
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
Try these...

Code:
ifconfig eth0 up
Code:
route add default gw <address> eth0
Also, edit your /etc/rc.d/rc.inet1.conf with the appropriate settings.

Last edited by Linux~Powered; 04-10-2005 at 10:22 PM.
 
Old 04-10-2005, 10:28 PM   #9
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Linux~Powered

Code:
route add default gw <address> eth0
what do i put for <address>

also I am using a linksys wireless B adapter, 2.4 GHz, 802.11 b, model No: WUSB54G Ver. 4
which I am not sure is supported by linux

someone told me to try : ndiswrapper
does this work?
 
Old 04-10-2005, 10:31 PM   #10
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slack`er-current
Posts: 845

Rep: Reputation: 31
The gw is the gateway, the address of your router. Something like 192.168.0.1, just an example.
 
Old 04-10-2005, 10:34 PM   #11
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
ok,
i will try that, but I dont think that my adapter is supported, someone told me that this wireless adapter most likely istn, do you happen to know this?

linksys wireless B adapter, 2.4 GHz, 802.11 b, model No: WUSB54G Ver. 4

Last edited by slackware1299; 04-10-2005 at 10:49 PM.
 
Old 04-11-2005, 06:02 AM   #12
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Question about using ndiswrapper

do i have to install it on windows?
i just downloaded it fromt he sourceforge website
I can't downlload it on Linux since I am unable to use the internet. What do I do now after having downloaded it, do I somehow have to get it from the C hard drive in windows? and then install it on linux??
Thanks

Last edited by slackware1299; 04-11-2005 at 04:51 PM.
 
Old 04-11-2005, 04:52 PM   #13
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
anyone know, i would really like to get my internet functioning so that i dont have to keep switching between linux and windows

thanks
 
Old 04-11-2005, 11:32 PM   #14
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Slackware 14.1 [3.x]
Posts: 182

Rep: Reputation: 30
i had the same problem as you did, since i had to configure mi network connection from a wireless card on a laptop.

here's the deal. download ndiswrapper with windows. save it on a dir. whatever.

run linux and get that file, untar it. and well, basically run your ./configure and /make., i don't remember too well, the guys at ndiswrapper have a great wiki.

once installed, run
Code:
ndiswrapper -i inifile.ini
in which inifile means the inifile for the windows xp drivers to use. remember to run ndiswrapper under the directory you have the inifile, i recommend you mount the cd rom drive, if thats where the drivers are, or create a directory in windows, so you can do it from there without much hassle.

after you installe the driver go

Code:
modprobe ndiswrapper
and
Code:
ndiswrapper -l
that should give you the output that status of the drivers and hardware

after that, have some fun with
Code:
iwconfig
you should see something like wlan0, or something.

you need 3 things after this basically
Code:
iwconfig essid Network-name
if you got encryption going
Code:
iwconfig key restricted password
and if you are probably running dhcp
Code:
dhcpcd wlan0
i hope this helps... still, read the wiki! the guys at ndiswrapper are real humanitarians... that piece of software is just great.
 
Old 04-12-2005, 06:28 PM   #15
slackware1299
Member
 
Registered: Apr 2005
Location: USA
Distribution: Slackware 10.1
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by salviadud

Code:
iwconfig essid Network-name
if you got encryption going
Code:
iwconfig key restricted password
thanks man thats exactly what i needed,
about those two codes

say my network name is test123 would i do : iwconfig essid Network-test123 or
iwconfig essid test123

and for the second code, waht pw are you talking about?, I know we have an encryption key for the router if that may be what you are talking about...
so would code be like

iwconfig key restricted [encryption key for router]

thanks for you help, that should help a lot, I already downloaded ndiswrapper, and the winxp driver for my adapter
 
  


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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
3 button mouse (scroll button) Spyiish Slackware 24 07-23-2005 01:37 PM
Mouse scroll button Kernel 2.6.5 Slackware 2 05-18-2004 11:50 PM
mouse scroll button ? johnyy Linux - Software 1 09-16-2003 12:29 AM
How do I get scroll button on mouse to work .. kato678 Linux - General 1 06-26-2002 09:11 PM


All times are GMT -5. The time now is 09:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration