Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-18-2006, 05:37 PM
|
#1
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Rep:
|
Slackware is really Fast, I think I will stick to it
Hello friends,
I am not new to linux and I have used many distributions till now but, never thought about getting to Slackware. But, going through many threads, I heard about Slackware so much. So, 15 days back, I installed it on my machine. For some reasons, X didn't work and all my knowledge about networking didn't help me setup internet. After 2 hours of frustration. I uninstalled it and went back to my favourite Ubuntu.
But, it kept on pinching me that I failed to make Slackware work. So, I gave it another try yesterday. A member of this forum Slackhack gave me a link to http://www.slackbook.org which helped me with these problems.
Now, I have it working on my PC. And to my surprise, it works much faster than other distributions which I have tried.
I am happy with Slack but, here are some problems which I am trying to fix
1) the scroll wheel of the mouse is not working.
2) I don't know how to install / uninstall packages in Slackware. I don't think the .rpm or .deb concept is gonna work here.
3) Whenever I boot it, I see the text login screen instead of the GUI login screen. Each time I have to do a startx, even with runlevel 5.
4) How to add / remove scripts at boot (eg. I want to start dhcpcd at boot, I have put it in /etc/rc.d/rc.local. But, I want to start it with other network services)
And suggestions?
Last edited by manishsingh4u; 06-18-2006 at 05:41 PM.
|
|
|
06-18-2006, 06:03 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
Quote:
1) the scroll wheel of the mouse is not working.
2) I don't know how to install / uninstall packages in Slackware. I don't think the .rpm or .deb concept is gonna work here.
|
for the mouse, you need to edit your /etc/X11/xorg.conf file, and under the mouse section, add the lines
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
this is mine...
Code:
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2" # IntelliMouse PS/2
Option "Device" "/dev/mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
assuming you have a standard 3 button mouse, that is...
for packages, slack uses .tgz files which you install using pkgtool, where you would use "rpm -ivh <foopackage>" an rpm based distro, in slack you use "installpkg <foo>*.tgz"
most answers to all your questions are here someplace, you just need to search a bit to find them, also, google is your friend...
meanwhile, welcome to slackware!!! you're gonna love it.
Last edited by detpenguin; 06-18-2006 at 06:06 PM.
|
|
|
06-18-2006, 06:03 PM
|
#3
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
Quote:
2) I don't know how to install / uninstall packages in Slackware. I don't think the .rpm or .deb concept is gonna work here.
|
see chapter 18 in the slackbook!!
|
|
|
06-18-2006, 06:15 PM
|
#4
|
Member
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83
Rep:
|
For some packages you can always use slapt-get, and other pkgtool. You can find some good Slackware packages at http://www.linuxpackages.net/.
On another note, Ubuntu was the first distribution I tried, and I was surprised at how fast it was on my computer... but then I tried Slack and was blown away.
|
|
|
06-18-2006, 06:20 PM
|
#5
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Original Poster
Rep:
|
Quote:
Originally Posted by detpenguin
Code:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
|
Wow...now the scroll wheel of the mouse works fine. Thanks.
Quote:
Originally Posted by detpenguin
in slack you use "installpkg <foo>*.tgz"
|
Thanks. It works.
Quote:
Originally Posted by detpenguin
meanwhile, welcome to slackware!!! you're gonna love it.
|
Yes, it's good.
Quote:
Originally Posted by 320mb
see chapter 18 in the slackbook!!
|
Yes, it's there. Thanks.
|
|
|
06-18-2006, 06:23 PM
|
#6
|
Member
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900
Rep:
|
In answer to your third question, Slackware doesn't use runlevel 5. If you want to start straight in X, use runlevel 4.
|
|
|
06-18-2006, 06:25 PM
|
#7
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Original Poster
Rep:
|
Quote:
Originally Posted by Voltar
For some packages you can always use slapt-get
|
Sounds familiar. I will try this one for sure.
Quote:
Originally Posted by Voltar
On another note, Ubuntu was the first distribution I tried, and I was surprised at how fast it was on my computer... but then I tried Slack and was blown away
|
I think both of them are good at their own grounds. Ubuntu is relatively more easier to maintain. Slackware seems to be fast and stable.
|
|
|
06-18-2006, 06:30 PM
|
#8
|
Member
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900
Rep:
|
Be careful with slapt-get. From what I've read about it, it's good for maintaining some of your extra packages, but don't try updating your whole system with it!
|
|
|
06-18-2006, 06:34 PM
|
#9
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Original Poster
Rep:
|
Quote:
Originally Posted by Gethyn
Be careful with slapt-get. From what I've read about it, it's good for maintaining some of your extra packages, but don't try updating your whole system with it!
|
Thanks Gethyn, I will be careful.
|
|
|
06-18-2006, 06:36 PM
|
#10
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 467
Rep:
|
Well, you're hooked now and i am almost sure you're never going back to your old distros, just be patient and stick to it, and you'll soon realize the true power of Slackware
|
|
|
06-18-2006, 06:40 PM
|
#11
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Original Poster
Rep:
|
Quote:
Originally Posted by Gethyn
In answer to your third question, Slackware doesn't use runlevel 5. If you want to start straight in X, use runlevel 4.
|
Cool, I just changed my /etc/inittab and changed the default runlevel to 4. Now it works fine with GUI mode. How did I miss that .
Within 30 mins after posting my problems, nearly all of them are solved. Thank you all for your time and help. Now, I need to find a best place to put these lines (as my PC is the internet sharing server for my roomates).
1) For getting an ipaddress and settings from my ISPs dhcp server
2) To share my internet connection
Code:
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
|
|
|
06-18-2006, 06:44 PM
|
#12
|
Member
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422
Original Poster
Rep:
|
Quote:
Originally Posted by mannyslack
you'll soon realize the true power of Slackware
|
I think, I will.
Last edited by manishsingh4u; 06-18-2006 at 06:47 PM.
|
|
|
06-18-2006, 07:16 PM
|
#13
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Quote:
Originally Posted by manishsingh4u
1) For getting an ipaddress and settings from my ISPs dhcp server
|
/etc/rc.d/rc.local is the traditional place to put 'extra' scripts.
However, I would modify /etc/rc.d/rc.inet1.conf for your dhcp and other card specific settings.
Example:
Code:
# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
As for part 2:
The iptables script can still go in rc.local, or create a rc.firewall script in /etc/rc.d/ and make it executable.
Last edited by cwwilson721; 06-18-2006 at 07:19 PM.
|
|
|
06-18-2006, 07:17 PM
|
#14
|
Member
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498
Rep:
|
Quote:
Originally Posted by manishsingh4u
|
See /etc/rc.d/rc.inet1.conf . You have to set USE_DhcP[1] to "yes". Also fill in your hostname for DHCP_REQUESTs.
Quote:
Originally Posted by manishsingh4u
Code:
iptables -P FORWARD ACCEPT
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
|
Create /etc/rc.d/rc.firewall shell script and put your code inside. Also don't forget to make it executable.
|
|
|
06-18-2006, 07:27 PM
|
#15
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,729
|
Quote:
Originally Posted by manishsingh4u
But, it kept on pinching me that I failed to make Slackware work. So, I gave it another try yesterday.
|
Muahahaha...
Another vic^H^H^H user in the Slackware base.
Try using another distro. Go on. I dare ya. "You can check out anytime you like, but you can NEVER leave..."
Muahahahahahaha
Last edited by rkelsen; 06-18-2006 at 07:28 PM.
|
|
|
All times are GMT -5. The time now is 02:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|