Jump to content

File Sharing and Printer Sharing


Dru
 Share

Recommended Posts

:help:

 

Hello All,

 

I'm another Linux noob. I want to set-up file sharing and printer sharing on my home network.

 

Here's my setup...

 

Both computers dual boot linux (Mandrake v10 community) and Windows XP.

Cable Modem connected to LinkSys Router

Main computer hard wired to router (IP 192.168.1.100)

Second computer USB Wireless adapter to connect to network (IP 192.168.1.101)

 

ifconfig results...

eth0      Link encap:Ethernet  HWaddr 00:0C:6E:0D:EE:26
         inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
         inet6 addr: fe80::20c:6eff:fe0d:ee26/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:5143 errors:0 dropped:0 overruns:0 frame:0
         TX packets:9250 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:3568146 (3.4 Mb)  TX bytes:1023328 (999.3 Kb)
         Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:7520 errors:0 dropped:0 overruns:0 frame:0
         TX packets:7520 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:2479412 (2.3 Mb)  TX bytes:2479412 (2.3 Mb)


iptables -nvL results...

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination                                                                                 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination                                                                                 

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination


route -n results

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0


/etc/resolv.conf

search cmts.sth.ptd.net 
nameserver 216.144.187.71 
nameserver 204.186.0.201 
nameserver 207.44.96.12

 

I am able to ping both IP addresses.

 

Now what?

 

Thanks for the help!

 

:headbang:

 

[formatted by spinynorman]

Link to comment
Share on other sites

You need the samba package - type urpmi samba as root.

 

Samba is the Linux implementation of the windows smb protocol.

 

When installed, (if it isn't already) it can be configured from webmin (urpmi webmin if not installed) or swat (part of samba). Both are web interfaces.

 

Chris

Link to comment
Share on other sites

You need the samba package - type urpmi samba as root.

 

Samba is the Linux implementation of the windows smb protocol.

 

When installed, (if it isn't already) it can be configured from webmin (urpmi webmin if not installed) or swat (part of samba). Both are web interfaces.

 

Chris

Dont use webmin.

 

Mandrake has tools which will be much easier to use than webmin, you can find them in the Mandrake Control Centre.

 

 

If they fail, then use webmin, but i dont thinkthey will

Link to comment
Share on other sites

Tried Webmin and Swat, still have know idea how to get printer sharing configured. Computer 1 mainly runs linux and has both printers attached to it. Computer 2 mainly runs windows XP and has no printers attached to it. BTW, either swat or webmin trashed my nvidia driver. these were the only changes I made to my system and when I re-booted the nvidia driver was nuked. Had to re-install Linux.

Link to comment
Share on other sites

Don't see how webmin or swat could trash a graphics driver - that's more a windows thing :D

Probably coincidence. If it happens again, don't reinstall - these things can almost always be fixed under linux. Start by making a backup of /etc/X11/XF86Config-4 RIGHT NOW.

 

Iphitus is probably right - try the samba wizard in the servers section of mandrake control centre (mcc) - will probably be more straight-forward. You may need to install the server wizards with "urpmi wizard" or "urpmi drakwizard" should do it. Probably.

 

Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...