Slackware for the first time. Several issues. Would you help me? Newbie here.
:newbie:
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. Thanks. |
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.
|
Hey.
For the power off problem. Uncomment this line (remove the "#"): #/sbin/modprobe apm in the #### APM support ### section of /etc/rc.d/rc.modules. This worked for me. I don't know about the log out/shutdown part. Regards. |
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 Code:
# Network adapter configuration hope that helps ;) |
:newbie:
THANKS! Sound is up. And it shuts down now. Network, however... I can surf the web, but how can i see the shared file in each computer? This one is my last remaining question. Thank you all. I apreciate i. |
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 # All done. would look like that ;). Hop it helps and good luck. |
Thank you!
By using smb:/ i see my workgroup, after selecting it an internal error error rises its ugly head... libsmbclient reported an error... blah blah... There is light at the end of the tunnel, is it? |
Is there anything in your logfiles
/var/log/samba and /var/log/messages ? |
Everything is now fine!
I used this smb.conf: [global] workgroup = Casa security = share public = yes username map = /etc/samba/users.map writeable = yes [homes] browseable = no writeable = yes [home] path = /share public = yes only guest = yes writable = yes Bad thing is that now appear a few network folder named: tmp, share, homes in WinXP. How to remove them? Probably needs some furtherwriting but i guess that goes out of my league. Thank for your help people. I apreciate it. If you have coments, please, comment. |
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. |
Webmin also has Samba config, along with many other things.
|
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. Any workaround? |
All times are GMT -5. The time now is 07:21 AM. |