PDA

View Full Version : crossover network



giacomix
10-06-2004, 10:51 PM
Hey all,

I have:

1 laptop running Knoppix LiveCD
1 laptop running Windows 98 (first edition)
1 crossover ethernet cable

Is there anybody so kind as to give me a very elementary explanation on how to get to share files between the two laptops?

TIA!

CrashedAgain
10-06-2004, 11:47 PM
Hey all,

I have:

1 laptop running Knoppix LiveCD
1 laptop running Windows 98 (first edition)
1 crossover ethernet cable

Is there anybody so kind as to give me a very elementary explanation on how to get to share files between the two laptops?

TIA!

Linux to windows network is done using samba, check the docs section (top of screen) for Samba howto & networking how to. Easiest samba setup is with LinNeighourhood.

A. Jorge Garcia
10-07-2004, 12:37 AM
Would that be LinNeighborhood? How does it work?

TIA,
AJG

shah
10-07-2004, 01:48 AM
read my post
http://www.knoppix.net/forum/viewtopic.php?t=12379&highlight=samba
:D :D

giacomix
10-07-2004, 03:12 PM
read my post
http://www.knoppix.net/forum/viewtopic.php?t=12379&highlight=samba
:D :D

Read it, but it doesn't work. I think the problem is the Ethernet card. Even yesterday I tried to get on the internet, connecting to my cable modem via Ethernet, without success. Now I connected to the modem via USB and works just fine.

I guess if I can manage to get the Ethernet card working, the procedure you describe in the thread quoted above will do the job. I'm looking for a solution to the Ethernet problem, and of course any suggestion would be gratly appreciated.

Running Knoppix 3.6 on a Toshiba M-205. I know NOTHING about networks, but am willing to learn :)

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:90:64:D2:95:89
inet addr:68.42.13.49 Bcast:68.42.13.127 Mask:255.255.255.128
inet6 addr: fe80::290:64ff:fed2:9589/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25473 errors:0 dropped:0 overruns:0 frame:0
TX packets:12136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10221785 (9.7 MiB) TX bytes:1555680 (1.4 MiB)

CrashedAgain
10-07-2004, 03:27 PM
Would that be LinNeighborhood? How does it work?

TIA,
AJG

Yes. LinNeighborhood is just a gui to set up samba client, easier than doing it manually. You still have to know your other computer's IP address & windows workgroup name & password (if any) but then it's pretty straightforward.
Giacomix: try 'sudo pump -i eth0'. Just might be all that's needed to kickstart the net card.

Nic MFP
10-07-2004, 10:45 PM
About networking under Linux: is there anything like the "domain" under Windows NT/2K? That is, a centralized authority that can authenticate users who log on at any workstation all around the network, without the need of defining (and keeping synchronized) every account on every workstation?

garyng
10-08-2004, 01:34 AM
About networking under Linux: is there anything like the "domain" under Windows NT/2K? That is, a centralized authority that can authenticate users who log on at any workstation all around the network, without the need of defining (and keeping synchronized) every account on every workstation?

yes. install samba and its associated pam modules. Then you can use the NT/W2K for authentication. Technically speaking, you are telling each workstation that instead of using the /etc/passwd for authentication, use the samba module which would query the NT domain controller(or may be AD too in 3.x).

shah
10-08-2004, 02:08 AM
giacomix

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:90:64:D2:95:89
inet addr:68.42.13.49 Bcast:68.42.13.127 Mask:255.255.255.128
inet6 addr: fe80::290:64ff:fed2:9589/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25473 errors:0 dropped:0 overruns:0 frame:0
TX packets:12136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10221785 (9.7 MiB) TX bytes:1555680 (1.4 MiB)

Your networkcard looks okay to me but, before using samba you need to set ip address on both pc. Else it won't work. One thing to remember samba won't work well with XPHome.You need to edit your registry.
http://www.ccs.uky.edu/docs/samba.htm
http://www.samba.netfirms.com/sambconf.htm
http://static.kdenews.org/content/siddhuwarrier/20030610/
:D :D :D

Nic MFP
10-08-2004, 07:56 AM
yes. install samba and its associated pam modules. Then you can use the NT/W2K for authentication. Technically speaking, you are telling each workstation that instead of using the /etc/passwd for authentication, use the samba module which would query the NT domain controller(or may be AD too in 3.x).

Thank you! But can a Linux machine be something similar to the domain controller of Windows? That is, can I get the job done WITHOUT a windows machine (not necessarily to authenticate Windows workstations, linux ones are enough).

P. S. I see only now that there is a "Networking" section... :oops:

garyng
10-08-2004, 07:38 PM
yes. install samba and its associated pam modules. Then you can use the NT/W2K for authentication. Technically speaking, you are telling each workstation that instead of using the /etc/passwd for authentication, use the samba module which would query the NT domain controller(or may be AD too in 3.x).

Thank you! But can a Linux machine be something similar to the domain controller of Windows? That is, can I get the job done WITHOUT a windows machine (not necessarily to authenticate Windows workstations, linux ones are enough).

P. S. I see only now that there is a "Networking" section... :oops:

Yes, Samba(at least 3.x) can be a NT/W2K style domain controller. Not AD. So no Windows machine is needed.

However, if all you want is just centralized authentication for linux, it may be better to use LDAP or Kerberos(or both). Or use Samba with a LDAP backend as its user database. This way, you authenticate through samba security module which use LDAP for database management meaning you can replicate the same LDAP DB for high availability/performance.

Nic MFP
10-08-2004, 07:44 PM
Well... Thank you very much! :D

giacomix
10-09-2004, 04:34 AM
giacomix

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:90:64:D2:95:89
inet addr:68.42.13.49 Bcast:68.42.13.127 Mask:255.255.255.128
inet6 addr: fe80::290:64ff:fed2:9589/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25473 errors:0 dropped:0 overruns:0 frame:0
TX packets:12136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10221785 (9.7 MiB) TX bytes:1555680 (1.4 MiB)

Your networkcard looks okay to me but, before using samba you need to set ip address on both pc. Else it won't work. One thing to remember samba won't work well with XPHome.You need to edit your registry.
http://www.ccs.uky.edu/docs/samba.htm
http://www.samba.netfirms.com/sambconf.htm
http://static.kdenews.org/content/siddhuwarrier/20030610/
:D :D :D

why, thanks! But things have changed :)

Since I realized I would never be able to set up a network between Win98 and Knoppix, I burned a second Knoppix CD and started bot machines with Knoppix.

So now I only (!) have to set up a network between two machinces running Knoppix. And, guess what?? I fail at that as well!! :)

Here's what I do and what happens:

- I do netcardconfig manually on both computers, because DHCP doesn't work.
- So I assign 192.168.0.10 and .11 to the brokenXP and to the 98 machine respectively.
- I start Knoppix terminal server on both machines just OKing every entry (and giving the right client range)
- I start samba on both machines giving a password and OKing the following propmt.
- I start linneighborhhod on both machines and make a query for the respective IP addresses.

- Both queries invariably fail. However,
- the IP address of the other machine appear in linneighborhood nonetheless and
- occasionally such IP addresses can be scanned and I can see the other computer. If I try to mount the other computer hard drive,
- it will, invariably, say access error.

Please, tell me that I'm missing something EXTREMELY easy and that next time I'll transfer my files to the working machine...

shah
10-09-2004, 05:39 AM
Samba wasn't meant for linux to linux networking, eventhough it is possible.

Since I realized I would never be able to set up a network between Win98 and Knoppix, I burned a second Knoppix CD and started bot machines with Knoppix.
You can setup win98 to use samba server. The problem with win98 is it wont allow you yo send unencrypted password (plain) which is needed by samba.
You need to edit registry of win98 so it can send plain password. Follow this instruction:
1) Go to Start--->run--->type regedit <enter>
2) in registry editor, go to: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\VxD\VNETSETUP
3)Add the DWORD value to the Registry entry EnablePlainTextPassword (reg Dword) 1
4) reboot

Don't forget to set shared on folder you want to share on win98 pc so that you can mount that shared point.
:D :D

CrashedAgain
10-09-2004, 05:59 AM
For linux->linux connection try 'fish'. It's ridiculously easy.
1) From the Knoppix->services menu, start SSH server
2) Set a root password with 'sudo passwd' on the other machine
2) type 'fish://root@192.168.<IP address of the other machine>' in Konqueror address bar.
You should be asked for the password & then connected.

giacomix
10-09-2004, 05:32 PM
For linux->linux connection try 'fish'. It's ridiculously easy.
1) From the Knoppix->services menu, start SSH server
2) Set a root password with 'sudo passwd' on the other machine
2) type 'fish://root@192.168.<IP address of the other machine>' in Konqueror address bar.
You should be asked for the password & then connected.

It worked!!

Thanks a BUNCH to everyone!