Slackware for the first time. Several issues. Would you help me? Newbie here.
SlackwareThis 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.
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.
Slackware for the first time. Several issues. Would you help me? Newbie here.
Just installed Slackware 10 today, after using Mandrake for some time now.
Here are my questions:
1)
My sound card (Cirrus Logic Crystal CS4281) after entering X comes up with
an error (Arts being used):
| Sound server informational message:
| Error while initializing the sound driver:
|
| device /dev/dsp can't be opened (No such device)
|
| The sound server will continue, using the null output device
Well, no sound here.
2)
No network! I've been banging my head over and over and i can't find the
solution!
I have a PCMCIA D-Link DFE-670TXD fast ethernet card wich is recognised
at boot, it beeps twice, loud beeps, so it's fine right?
The problem is: What now?
I have a computer with WinXP hooked up to a cable modem and i want to
use it as a gateway. In Windows environment it goes fine, so in Slackware it should as well. However, i have no idea what to do.
3)
Is it possible to shut down the computer in X? I only have the logout
option, having to go to a terminal to shutdown the computer.
And why doesn't he power down by himself? Mandrake did...
Sorry if it is too lame to pose these questions. Any help would be apreciated.
hi eyeliner,
when you first started X did you configure alsa for the sound ??
if not try running alsaconfig from the terminal and then restart X, as for the network not working....what is the output from the lsmod command, maybe the module is't loaded, or are you getting an ip address ?
About network, try running the command ifconfig to show if your card is being detected, if it shows eth0 then run: netconfig and setup your machine ip or dhcp and your gateway.
for the network card, since you're using a PCMCIA card, I would recommend letting those scripts handle it rather than the standard networking scripts (/etc/rc.d/rc.inet1). The one you should look at is /etc/pcmcia/network.opts and it looks something like this:
Code:
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="n"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK="10.0.1.0"
BROADCAST="10.0.1.255"
# Gateway address for static routing
GATEWAY="10.0.1.1"
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac
Just fill in all your appropriate settings and it should initiate everything every time you insert the card. If you connect to multiple networks you separate the different configurations by setting a different scheme for each network like this:
Code:
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
scheme1,*,*,*)
settings for scheme 1
;;
scheme2,*,*,*)
settings for scheme 2
;;
esac
Then you would simply change schemes using the command cardctl scheme scheme name
If you want to browse a Windows - Network with samba and kde, just open Konqueror in KDE and type
smb:/
You`ll then hopefully see all workgroups in your network and will be able to browse them.
I usually have a link to konqueror with that option on my desktop ( Link to program, command : konqueror smb:/ ).
Anyway, do you use kde?
If so you have to use kdm as loginmanager to shut the pc down from kde menu.
Just comment the section about gdm out in /etc/rc.d/rc.4:
#! /bin/sh
#
# rc.4 This file is executed by init(8) when the system is being
# initialized for run level 4 (XDM)
#
# Version: @(#)/etc/rc.d/rc.4 2.00 02/17/93
#
# Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
# At least 47% rewritten by: Patrick J. Volkerding <volkerdi@slackware.com>
#
# Tell the viewers what's going to happen...
echo "Starting up X11 session manager..."
# Try to use GNOME's gdm session manager:
#if [ -x /usr/bin/gdm ]; then
#exec /usr/bin/gdm -nodaemon
#fi
# Not there? OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi
# If all you have is XDM, I guess it will have to do:
if [ -x /usr/X11R6/bin/xdm ]; then
exec /usr/X11R6/bin/xdm -nodaemon
fi
# error
echo
echo "Hey, you don't have KDM, GDM, or XDM. Can't use runlevel 4 without"
echo "one of those installed."
sleep 30
Easiest way to config your samba is probably using swat ( An easy to use webadmin for samba ):
/etc/inetd.conf
# swat is the Samba Web Administration Tool
swat stream tcp nowait.400 root /usr/sbin/swat swat <-- just uncomment this line and reboot or restart your inetd service
Then use your browser to connect to http://localhost:901
Login with your root - account and configure samba just the way you like.
The funny thing is when i connect both my usb modem and network card.
Net access is fine. as Slack gives eth1 for modem and i've put dhcp="yes"
in the eth1 portion of rc.inet1.config.
But when i only connect the modem... eth0 is the modem and net access is
gone, by the obvious reason.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.