LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2003, 03:48 AM   #1
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Rep: Reputation: 0
Question Newbie needs help wit Slackware 2 winxp network.




ok first of all i want to warn u im a BRAND NEW Linux user, as of last nite i did my first install.
i have my main box running windows XP sp1 and i want to leave it that way atleast until im more comfortable with slackware. i have dial up connection running from my XP box. (because u can only get satelite high speed connection in my aread)
i want to set up a network with the slackware box to my xp box so that i can share files and the internet between the two. i have the network cards and cat5 and know they work as the slackware box dual boots with win 98 and have had 98 and xp networked since i got the xp box.

as i said im very new so i need good instructions on this, if ne1 can point me to a really good tutorial on it that would be great otherwise try your luck instructing me. i've got samba but not sure how it works either. basically having a fair bit of trouble and have tried finding sites today for info. no1 seems to need as simple help as i need. i have downloaded samba but got no idea how to use!

btw using the kde window manager is thats at all important, lol, i got no idea.

thanx heaps in advance for any help and sorry if i bother ne1 with this question. i couldn't find it answered in other posts but maybe i wasn't looking for the right thing.

cheers
Fizical
 
Old 06-19-2003, 10:17 AM   #2
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
i think i need samba-latest.tgz but hacing trouble finding such a file. i cant get samba installed doin installpkg and the file name cause its not a tgz and when i renamed it the file didn't work!
i've bn trying to get this working all afternoon as well as early this morning and last nite with no luck. i really dont know what im doin! please some1 help me cause i need this network set up.

btw here it is 1:18am Friday so if dont respond u no why, cause im in bed. i'll be back on tomorrow nite.

thanx
Fizical

Last edited by Fizical; 06-19-2003 at 10:19 AM.
 
Old 06-19-2003, 10:30 AM   #3
BulletSponge
LQ Newbie
 
Registered: Jun 2003
Location: Calgary, Canada
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Your best bet might be to compile samba from source (this can sound scary, but it's not). when i tried to set up samba, i found the package horrible. also, when you download the source, there are step by step instructions included.

If you go to www.samba.org and pick a mirror, you can get the source there, (top right corner there is a download link)

i'd suggest downloading it to your home directory, then just open up a terminal there, and type tar -zxvf samba-latest.tar.gz
that should create a directory called samba-2.2.8a, and if you go into there and look in the docs directory, there are some really good tutorials. and if you need clarification, feel free to pm me, or use google.

Cheers.
 
Old 06-20-2003, 12:19 AM   #4
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
thanx heaps for ur reply i will hopefully get to that later tonite when i get some time. studyn 4 uni exam atm.
i am thinking that maybe my modem is recognized by linux also cause i cant share the net when i have followed other ppls advice in other posts on this board.
my network card is F5D5000, is there a way to know if the network card is being recognised?
cheers
Fizical
 
Old 06-20-2003, 02:48 AM   #5
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok apparently samba is already installed on slackware 9 since it was already in the pkgtools section.

as i said i dont even know how to check if my network card is detected. so as u can see im a total newbie. if ne1 can point me to really easy to follow instructions for slackware (if that makes ne diff) and is there a good resource for drivers someware.

i really got no idea but very much willing to learn. couldn't made head from tails of the HOWTO document on samba, lol. hopefully i'll be able to get my mate to give me a hand with nething links you ppl give me or advice since he more familiar with linux just not networking.

sorry for being such a newbie user of it all
 
Old 06-20-2003, 11:26 AM   #6
BulletSponge
LQ Newbie
 
Registered: Jun 2003
Location: Calgary, Canada
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
everyone has to start somewhere.

have you looked at the documentation at www.slackware.com?
they have some pretty good stuff there.
http://www.slackware.com/config/network.php is where the networking help is stored.
 
Old 06-20-2003, 01:34 PM   #7
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
If you want to know if your NIC is up and running do an ifconfig. If there is an entry starting with eth0 and an IP address and such your up. You could also ping your IP adress too.
I did a little how-to on samba, it is here http://www.valkyrie.net/~tangle/comp.../smb_conf.htm.
 
Old 06-20-2003, 10:30 PM   #8
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok it appears linux has not detected my network card since i have no eth0 entry in ifconfig. and according to the slackware book online it says i need netmods pkg to select my network card. but i cant find it in the system or on the cd newhere. i've searched the net on google but all the results i found seem to b for earlier versions of slackware. would that matter?
obviously im gonna need to set up this network card b4 i can get newhere else aren't i, lol. so if ne1 knows where i can get this pkg "netmods" i'd really appreaciate it. btw tangle that site of urs looks like its gonna be pretty good to follow. got that webmin program =)

cheers
Fizical
 
Old 06-20-2003, 10:35 PM   #9
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
What kind of NIC do you have?
 
Old 06-21-2003, 12:39 AM   #10
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
umm according to win 98 my NIC is:

F5D5000 Belkin version 016

i've seen elsewhere these were modems that come with compaqs but my pc is just a generic one.
 
Old 06-21-2003, 09:49 PM   #11
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
You NIC uses the same chipset as a RealTek 8139/8139 NIC. The kernel module that it uses is named rt18139. Go to your /etc/rc.d directory and remove the # in front of the line that says /sbin/modprobe rt18139. That will allow for the module to be loaded when your PC reboots. If you wanted it to load without rebooting you can type /sbin/modprobe rt18139 at the command line. Then type ifconfig eth0 192.168.0.10 or what ever you want the ip address to be.

Then you need to edit the file named rc.inet1 so it the IP address and netmask are set the next time you reboot. Here is what my eth0 section of the file looks like.

# Edit these values to set up your first Ethernet card (eth0):
IPADDR="192.168.0.21" # REPLACE with YOUR IP address!
NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
# Or, uncomment the following lines to set up eth0 using DHCP:
#USE_DHCP=yes
# If your provider requires a DHCP hostname, uncomment and edit below:
#DHCP_HOSTNAME="CCHOSTNUM-A"

I have Slack 8.1 so it shouldn't be any different that 9.0. Also here is the link to where I found what module you needed for your NIC, http://pigtail.net/LRP/swap.html.
 
Old 06-22-2003, 12:18 AM   #12
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok ur gonna kill me but...

are u wanting me to edit the rc.modules file? and if so how the hell do i do it? i can run the file, lol, but i cant figure out how to edit it. told u i was a real newie =P
i thought i could do it thru that webmin thing but that wanted me to do something on the net =S and im not connected to the net yet cause im not connected to the network.
cheers
Fizical
 
Old 06-22-2003, 12:53 AM   #13
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
To edit the file just log in as root and use an editor like kwrite. Just make a copy of the file and name it something like rc.modules-old. That way if you mess it up you have the original.
 
Old 06-22-2003, 02:20 AM   #14
Fizical
LQ Newbie
 
Registered: Jun 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok the networkd card is now detected and i've entered the ip address etc but it still doesn't seem to work
am i missing something? arrr its getting to the point where im ready to give up the idea of it all cause im so lost at it and have no idea whats goin on.
 
Old 06-22-2003, 09:04 PM   #15
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
What does ifconfig say?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up a network between linux (slackware 9.1) and winxp djgerbavore Linux - Networking 3 07-21-2004 09:27 AM
Newbie- how to network Winxp and SuSE Linux 9.0? SoulPioneer Linux - Networking 7 04-21-2004 10:10 PM
my cdrom drive wit Slackware 9.0 Scarface Linux - Hardware 2 10-09-2003 07:25 PM
re-installing winXP wit linux usman Linux - General 2 09-26-2003 02:08 PM
Someone wit Slackware 9 iso get on kazaa h1tman Slackware 17 07-21-2003 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration