PDA

View Full Version : Network problems



Juny
03-12-2003, 11:23 PM
hi im new at linux and i got some problems i have 2 pc's 1 win_xp and one knoppix and there conneted with eachother true a hub.

i got knoppix installed on my hd, i finaly got my networkcard working, i can ca ping my windows_xp from knoppix and can ping my windows_xp from my knoppix. but now...i got an adsl-modem connection on my windows_xp and i want to internet on my knoppix_box to how can i fix that. i run KDE, and in the forum i see alot of:

"if you go to K MENU ( bottom left ) to ->KNOPPIX -> CONFIGURE NETWORK "

but how do i get there i really dont understand it..

i got some shares on my win_xp (mp3) but how can i see them how do i run them on my knoppix_box

thnx for ur help...i really can use it..

Win = 192.168.0.3/255.255.255.0 | Workgroup = WERKGROEP
(don't i have to set an workgroup for knoppix???)

linx knx =192.168.0.2/255.255.255.0

rickenbacherus
03-13-2003, 01:39 AM
Wow - you have alot of questions eh? Have you enabled ICS in XP?


i can ca ping my windows_xp from knoppix and can ping my windows_xp from my knoppix

Good your network is working. Internet connection sharing in XP is very limited and is set to DHCP by default (I think) so your linux box needs to 'broadcast' for an IP address. When you installed it did you enable DHCP?

Juny
03-13-2003, 08:52 AM
uhmm sorry about the questions..but there's a forum for right?

uhm i did install DHCP but how do i use it? can u give me a short breef on that?

thnx juny

Juny
03-13-2003, 09:10 AM
ow btw i still dont know what "if you go to K MENU ( bottom left ) to ->KNOPPIX -> CONFIGURE NETWORK " means can someone explain it to me? thnx juny

P.S. and i dit enable ICS in windows

rickenbacherus
03-13-2003, 05:29 PM
If you selected 'YES'at the DHCP question when you installed Knoppix then DHCP is already running.

Since you can ping from one machine to the other that means your network is functioning fine.

You will be looking for the dhcpd That is DHCP daemon.
Look for the /etc/dhcpd.config file.

You can always do this to:

man dhcp

I would suggest studying networking.

Personally I think it's much easier to share the internet with a Linux machine. Here's how:
http://www.justlinux.com/nhf/Networks/Easy_Internet_Sharing.html


Here are some excellent 'how-to's' at LDP-Linux Documentation Project.
http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html

As for sharing files you will need to look into Samba here:
www.samba.org It should already be installed. You may or may not have elected to start it on boot. And of course you can always do this:

man samba

Juny
03-13-2003, 06:22 PM
thnx dude!!! again..that should help me out...but about that KNoppix "group" an netcradconfig...is just strange..when i boot with the same cd on the same box...i can go to knoppix "groep" and without cd i cant

but thnx dude !! thnx!!

rickenbacherus
03-13-2003, 06:42 PM
when i boot with the same cd on the same box...i can go to knoppix "groep" and without cd i cant

When you install Knoppix to a hard drive it becomes Debian. Several things are different. If you want to check out Debian (and you really should if you have it installed) go here:

www.debian.org

RockMumbles
03-13-2003, 06:49 PM
After the hd install the KNOPPIX KDE menu entries are removed, the programs are still there but the entries in the menus are deleted.

Are you still wanting to use your winXP machine as your internet gateway? If so, have you set up "Internet Connection Sharing" on your winXP machine?
You'll need to do that first, then you will need to setup knoppix to use dhcp for its IP address, etc. To use netcardconfig you can do it from a terminal window, ie: konsole, xterm, etc., open the terminal window, and then use the su command to become root, at the command prompt type:
su (then the enter key)
then give the root password and press enter
then at the prompt type: netcardconfig and then <enter> key now select dhcp for your network configuration.

HTH

rock