LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-18-2006, 04:37 PM   #1
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Rep: Reputation: 30
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 04:41 PM.
 
Old 06-18-2006, 05:03 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
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 05:06 PM.
 
Old 06-18-2006, 05:03 PM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
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!!
 
Old 06-18-2006, 05:15 PM   #4
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
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.
 
Old 06-18-2006, 05:20 PM   #5
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Original Poster
Rep: Reputation: 30
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.
 
Old 06-18-2006, 05:23 PM   #6
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
In answer to your third question, Slackware doesn't use runlevel 5. If you want to start straight in X, use runlevel 4.
 
Old 06-18-2006, 05:25 PM   #7
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Original Poster
Rep: Reputation: 30
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.
 
Old 06-18-2006, 05:30 PM   #8
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
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!
 
Old 06-18-2006, 05:34 PM   #9
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Original Poster
Rep: Reputation: 30
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.
 
Old 06-18-2006, 05:36 PM   #10
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
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
 
Old 06-18-2006, 05:40 PM   #11
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Original Poster
Rep: Reputation: 30
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
Code:
dhcpcd eth1
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
 
Old 06-18-2006, 05:44 PM   #12
manishsingh4u
Member
 
Registered: Oct 2005
Location: Pune, India
Distribution: OpenSUSE 11.0
Posts: 422

Original Poster
Rep: Reputation: 30
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 05:47 PM.
 
Old 06-18-2006, 06:16 PM   #13
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
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 06:19 PM.
 
Old 06-18-2006, 06:17 PM   #14
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 462

Rep: Reputation: 77
Quote:
Originally Posted by manishsingh4u
Code:
dhcpcd eth1
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.
 
Old 06-18-2006, 06:27 PM   #15
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,779

Rep: Reputation: 207Reputation: 207Reputation: 207
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 06:28 PM.
 
  


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
About Slackware and FreeBSD ,Who is Fast? canglong Slackware 13 03-09-2009 11:23 AM
How Can I Use My Usb Stick Drive In Slackware grok82 Linux - Hardware 7 04-09-2006 05:23 PM
usb memory stick in slackware 10 MayaPT Linux - Newbie 1 10-02-2004 07:47 PM
Why is slackware so fast? dushkinup Slackware 4 03-20-2004 12:30 PM
Slackware 8.0 Help Needed!!! Fast!!! Eits0 Linux - General 3 06-19-2002 05:04 PM


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