Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hey, I have a few windows compies on this network all hooked through a d-link wireless router (though all compies are wired in including this one) and i was wondering ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175

    lan connect


    Hey, I have a few windows compies on this network all hooked through a d-link wireless router (though all compies are wired in including this one) and i was wondering if it was possible to connect to their files to copy them etc.? also if anyone can answer my usb problem, how do i get my usb drive working? (i have no idea about it)
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

  2. #2
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14
    for the windows network use samba. im a debian user mainly, never tried slackware. Samba is available at sourceforge.net so you can compile it from source. For your USB issue use the command lsusb and post the output. If it shows up with nothing then you need to install the usb modules i think.

  3. #3
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175
    root@krachun:~# lsusb
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000
    Bus 001 Device 003: ID 0781:5406 SanDisk Corp.
    root@krachun:~#


    now what? it recognizes what i have and has the company right. but how can i get it to let me look on the drive? then later (after i have that down) how to in the gui. figure more complex then the shortcut.
    and for the lisa daemon it says its not working correctly: The Lisa daemon does not appear to be running.
    In order to use the LAN Browser the Lisa daemon must be installed and activated by the system administrator.
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Samba came installed with Slackware. You just need to configure it. Maybe thiscan get you started?


    Quote Originally Posted by stinkoman
    now what? it recognizes what i have and has the company right. but how can i get it to let me look on the drive? then later (after i have that down) how to in the gui. figure more complex then the shortcut.
    Well, you need to tell the machine (as root) that you trust users to mount this device, and you need to specify where.

    I don't know what is the official procedure, but this is what works for me:

    First! Just after plugging in the device, run this command:
    Code:
    dmesg | tail
    It takes some getting used to before you can easily interpret the output, but after three or four times you know what you're looking for. Look for a line like this:
    sda : sda1
    That means your device is recognized by the kernel as sda1. So it's full name is /dev/sda1

    Now you know what your device is called, you can mount it as root. For example:
    Code:
    mount /dev/sda1 /mnt/pendrive
    But you want to be able to mount it as user. That sort of permissions is set by /etc/fstab. So add this entry to fstab:
    Code:
    /dev/sda1       /mnt/pendrive       auto            users,noauto,rw
    Where /mnt/pendrive is a location you may specify. The directory needs to exist, so if it doesn't, create it.

    Code:
    mount /mnt/pendrive
    Mounts the drive. With the proper deamons running, you can also get Slack to do this for you. From the GUI. Try to run Kwikdisk from the system menu. This may just be what you're looking for. If it's not, post here how and why. It's not the only way to get things done. But you may need to start up some deamons.

    Quote Originally Posted by stinkoman
    and for the lisa daemon it says its not working correctly: The Lisa daemon does not appear to be running.
    But is it installed?

    Can you post the output of this command:
    Code:
    ls -l /etc/rc.d
    Important further reading:
    Slackware Linux Essentials
    Can't tell an OS by it's GUI

  5. #5
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175
    root@krachun:~# ls -l /etc/rc.d
    total 237
    lrwxrwxrwx 1 root root 4 2008-01-06 08:15 rc.0 -> rc.6*
    -rwxr-xr-x 1 root root 1160 2006-09-25 04:33 rc.4*
    -rwxr-xr-x 1 root root 6782 2006-09-25 04:33 rc.6*
    -rwxr-xr-x 1 root root 2322 2006-09-25 04:33 rc.K*
    -rwxr-xr-x 1 root root 10022 2006-09-25 04:33 rc.M*
    -rwxr-xr-x 1 root root 14408 2006-09-25 04:33 rc.S*
    -rwxr-xr-x 1 root root 466 2004-11-05 03:20 rc.acpid*
    -rwxr-xr-x 1 root root 1614 2006-08-04 22:50 rc.alsa*
    -rw-r--r-- 1 root root 1032 2003-02-01 22:47 rc.atalk
    -rw-r--r-- 1 root root 4178 2006-05-03 19:31 rc.bind
    -rw-r--r-- 1 root root 3942 2006-08-17 01:19 rc.cups
    -rw-r--r-- 1 root root 512 2006-08-08 00:02 rc.dnsmasq
    -rwxr-xr-x 1 root root 119 2004-05-30 00:19 rc.font.new*
    -rwxr-xr-x 1 root root 1148 2008-01-06 08:31 rc.gpm*
    -rwxr-xr-x 1 root root 2243 2006-09-20 19:50 rc.hotplug*
    -rw-r--r-- 1 root root 401 2003-03-05 16:28 rc.httpd
    -rwxr-xr-x 1 root root 8325 2006-09-20 22:48 rc.inet1*
    -rw-r--r-- 1 root root 3543 2008-01-06 08:31 rc.inet1.conf
    -rwxr-xr-x 1 root root 4477 2006-09-20 22:44 rc.inet2*
    -rwxr-xr-x 1 root root 497 2003-09-11 23:27 rc.inetd*
    -rw-r--r-- 1 root root 1924 2003-09-13 19:10 rc.ip_forward
    -rwxr-xr-x 1 root root 272 2006-09-25 04:33 rc.local*
    lrwxrwxrwx 1 root root 19 2008-01-06 08:15 rc.modules -> rc.modules-2.4.33.3*
    -rwxr-xr-x 1 root root 25553 2006-09-01 04:31 rc.modules-2.4.33.3*
    -rw-r--r-- 1 root root 2300 2006-09-01 22:15 rc.mysqld
    -rwxr-xr-x 1 root root 2444 2006-09-20 23:05 rc.nfsd*
    -rwxr-xr-x 1 root root 5090 2006-08-16 16:48 rc.pcmcia*
    -rw-r--r-- 1 root root 2000 2006-09-21 18:07 rc.rpc
    -rw-r--r-- 1 root root 791 2006-09-02 02:14 rc.samba
    -rw-r--r-- 1 root root 1169 2006-05-27 16:24 rc.saslauthd
    -rwxr-xr-x 1 root root 967 2006-09-25 04:33 rc.scanluns*
    -rwxr-xr-x 1 root root 687 2002-06-04 17:09 rc.sendmail*
    -rw-r--r-- 1 root root 2895 2006-09-25 04:47 rc.serial
    -rwxr-xr-x 1 root root 1222 2006-09-28 17:17 rc.sshd*
    -rwxr-xr-x 1 root root 860 2004-05-02 18:07 rc.syslog*
    -rwxr-xr-x 1 root root 1740 2006-09-25 04:33 rc.sysvinit*
    -rwxr-xr-x 1 root root 4711 2006-09-13 20:11 rc.udev*
    -rwxr-xr-x 1 root root 9453 2006-08-16 16:20 rc.wireless*
    -rw------- 1 root root 7320 2006-08-16 16:20 rc.wireless.conf
    -rwxr-xr-x 1 root root 2323 2005-07-31 19:56 rc.yp*


    I assume this means no? where can i get it if it isnt installed?

    and i get an error when trying to mount the USB hard drive.
    mount: /dev/sda1 is not a valid block device
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

  6. #6
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175
    wait i got the usb workign i think, i changed 'pendrive' to 'sda'
    and i can only view the contents via the cli not the gui
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

  7. #7
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Read up on Samba, you'll need to know more than I can give you here. I don't run Microsoft, so I can't tell you anything about their side of the procedure.

    But a simple
    Code:
    chmod +x /etc/rc.d/rc.samba
    /etc/rc.d/rc.samba start
    Should do a whole lot on your Linux machine. You'd still need a configuration file, but that isn't the difficult part. Google 'samba howto'. Please feel free to post back if that doesn't work for you. Or if it does, others may be reading who might be interested in the solution.



    _____
    Good you got that USB thing sorted. I should have mentioned that the /mnt directory is different in every distro... even Slack derived ones. Make it as you want it and adjust /etc/fstab accordingly. You can mount things where you want them. For a long time I mounted them under /home/freston/usb as a directory in my home directory. The only thing Linux asks is that the directory exists. Make one if it doesn't.
    Can't tell an OS by it's GUI

  8. #8
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175
    new usb error:
    Called: mount /dev/sda1
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: /dev/sda1 is not a valid block device
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

  9. #9
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Yes that happens


    Add a new line (just press enter) after the last line of fstab. The logic of the system needs it
    Can't tell an OS by it's GUI

  10. #10
    Linux Newbie stinkoman's Avatar
    Join Date
    Jan 2008
    Location
    New Jersey
    Posts
    175
    and yet another error
    Called: mount /dev/sda1
    [mntent]: warning: no final newline at the end of /etc/fstab
    mount: /dev/sda1 is not a valid block device
    please click my minicity!
    or its industry more or even its roads
    Everyone is immortal until the day they die.
    Registered Linux user #462038

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •