PDA

View Full Version : Woot! I'm online! but......



jwilds73
05-07-2003, 10:57 PM
Ok I figured out how to get my old computer which is now running Knoppix online (no other OS). It was to simple all I needed to do was run netcardconfig and it did it's magic. I can now see my Knoppix computer from my other win2k machines also but now it gets alittle trickier. I want to tell Knoppix to use my printer that is on one of my win2k machines. It want's the address of the printer I assume that is computername/printername? I'm just unsure how to tell it the address I'm going through the built in printing manager. If this isn't enough information let me know, the basic setup is my Knoppix box is connected to my router and all my other computers are also. Also I tried using win2k's network places to browse my Knoppix box. When it pulled up the name and password box I tried logging on as root but it wouldn't let me in said my name and or password weren't valid. I assume this is just some weird thing cuz I'm trying to browse a Linux machine with a windows machine.

Thanks in advance,

Jwilds

rickenbacherus
05-08-2003, 03:52 AM
You need Samba (http://www.samba.org/)

Go to any of the other Linux forums and search for Samba too. This is a majorly popular subject.

jwilds73
05-08-2003, 04:50 AM
When I did the install I selected all the components to start up. When I look at the Knoppix computer through My Network Places in win2k it lists that computer as "Knoppix Server (Samba 2.23a-12.1 for Debian)" So I assume I have it? Thats all the info I'm able to get My Network Places to tell me about the other machine but it does see it so I take that as a good thing. I'll take a look at that samba site but I don't think I need to install anything else?

Jwilds

true1ever
05-08-2003, 09:46 PM
Open a terminal (Konsole) window and type: (hit enter after each line)
sudo -s
hostname knoppix
cd /etc/samba
cp smbpasswd smbpasswd1
mv -f smbpasswd1 smbpasswd
smbpasswd -a knoppix (type a password here for the knoppix user, I used "test")
/etc/init.d/samba restart


Now you should be able to either browse the network for the knoppix share or you can do a search for the knoppix computer from the W*ndows machine. If it asks you for login information, log in as user knoppix and password test (or whatever password you set above). You should see the knoppix home directory and the printers share come up. You should be able to read any file from your knoppix home directory, but you won't be able to write to it for right now since the default samba config is set for read-only. If you want to enable writing to it, it can be done, let me know and I will post how.