انجمن‌های فارسی اوبونتو

تازه کار => انجمن تازه‌کاران => نویسنده: mahdiar در 12 آبان 1388، 07:42 ب‌ظ

عنوان: شبکه کوبونتو با ویندوز
ارسال شده توسط: mahdiar در 12 آبان 1388، 07:42 ب‌ظ
من می خواستم به عنوان سرور به دو تا کامپیوتر دیگه اینترنت بدم و در ضمن file and printer sharing  هم داشته باشم . لطفا کمک کنید
عنوان: پاسخ به: شبکه کوبونتو با ویندوز
ارسال شده توسط: SAM1 در 14 آبان 1388، 09:55 ب‌ظ
اول که سامبا را نصب کنید (برای اشتراک فایل):
sudo apt-get install samba
برای اشتراک اینترنت این تاپیک را در انجمن انگلیسی اوبونتو بخونید:
http://ubuntuforums.org/showthread.php?t=91370

برای اشتراک پرینتر هم این برای یه نفر تو همون تاپیک انگلیسی کار کرده:

نقل‌قول
Save yourself some headaches (assuming this is a private network), edit the Listen directives in the following file:
(Dapper: /etc/cups/cups.d/ports.conf; Edgy: /etc/cups/cupsd.conf)
Code:

#Listen localhost:631
Listen *:631
Listen /var/run/cups/cups.sock

Restart the cups daemon:
Code:

sudo /etc/init.d/cupsys restart

On the Windows box:

   1. Start the Add Printer wizard
   2. Click Next
   3. Select A network printer, or a printer attached to another computer
   4. Select Connect to a printer on the Internet or on a home or office network
   5. Type http://server_name:631/printers/printer_name in the URL box, where server_name is the hostname or ip address for the ubuntu machine, and printer_name is... the printer name. Don't forget the port number!
   6. Click Next and run through the driver installation to complete


Should work just fine.