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

تازه کار => انجمن تازه‌کاران => نویسنده: behdin در 28 تیر 1390، 11:02 ق‌ظ

عنوان: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 28 تیر 1390، 11:02 ق‌ظ
با سلام من arios نصب کردم خیلی خوب کار میکنه و دسکتاپ جمع و جوری داریم اما نمیدونم چرا اینترنت قطع و وصل میشه چون من تو اداره به lan  وصلم شبکه مشکل نداره ولی زمانی که روی auto eth0 کلیک میکنم دوباره وصل  میشه ولی بعد از چند دقیقه دوباره قطع میشه دلیلش چی لطفا کمکم کنید ](*,)
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 03 امرداد 1390، 01:15 ب‌ظ
چون من تو اداره به lan  وصلم شبکه مشکل نداره ولی زمانی که روی auto eth0 کلیک میکنم دوباره وصل  میشه ولی بعد از چند دقیقه دوباره قطع میشه دلیلش چی لطفا کمکم کنید ](*,)

منظورتون چیه که شبکه مشکل نداره ولی بعد از چند ثانیه قطع میشه؟ اگر کاملتر توضیح بدید راحت تر میشه مشکل رو حل کرد.
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 03 امرداد 1390، 05:56 ب‌ظ
منظورم ایه که با همین آی پی ولید از توی ویندوز که وصل میشه راحت کارمیکنه و اصلا قطع و وصل نمیشه پش شبکه ما مشکل نداره اما تو لینوکس وقتی به اینترنت وصل میشم چند دقیقه  دریاقت و ارسال دارم اما بعد از چند دقیقه دوباره قطع میشکه که روی کانکشنم کلیک میکنه دوباره که establish  میشه اینترنت وصل میشه
حالا اون به کنار الان جویند دویمن اداره شدم و اینترنت از طریق پروکسی قابل دسترسی من  از مسیر prifrences-network-proxy تنظم کردم با یوزر و پسورد فایرفاکسم دسترسی به اینترنت داره اما Ubuntu software center  نمیتونه نرم افزارا رو از اینترنت دانلود کنه
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 03 امرداد 1390، 07:11 ب‌ظ
الان که به دومین join شدین بازم همون مشکل قطع و وصلی رو دارین؟
اگر پروکسی شبکه شما ISA باشه برای اینکه apt و بقیه برنامه‌ها بتونن کار کنن باید این کارها رو انجام بدین:

sudo apt-get install ntlmaps
حالا باید تنظیمات برنامه رو ویرایش کنید:

sudo gedit /etc/ntlmaps/server.cfg
این قسمتها رو با توجه به شبکه‌ای که دارین پر کنین:
Parent Proxy
NT Windows Domain: domain_name (your domain)
NT Windows Username: user_name (the user name you will authenticate with)
NT Windows Password: password

حالا:
sudo service ntlmaps stopsudo service ntlmaps start
حالا فایل تنظیمات apt رو ویرایش کنید:
sudo gedit /etc/apt/apt.conf
و این عبارت رو در اون وارد کنید:
Acquire::http::Proxy "http://127.0.0.1:5865/";

و حالا apt رو تست کنید.


عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 06 امرداد 1390، 07:35 ق‌ظ
سلام اقا درست نشد موقع نصب کردن این پیغام و میده:
^Calirezaee-h@ec-ctr-its06:~$ sudo apt-get install gnome-activity-journal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnspr4-0d libcpufreq0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python-pygments
Suggested packages:
  tracker ttf-bitstream-vera
The following NEW packages will be installed:
  gnome-activity-journal python-pygments
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 586 kB of archives.
After this operation, 3,748 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  gnome-activity-journal python-pygments
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ natty/universe gnome-activity-journal all 0.5.0.1-0ubuntu1
  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Err http://archive.ubuntu.com/ubuntu/ natty/main python-pygments all 1.4+dfsg-1ubuntu1
  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/gnome-activity-journal/gnome-activity-journal_0.5.0.1-0ubuntu1_all.deb  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pygments/python-pygments_1.4+dfsg-1ubuntu1_all.deb  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 06 امرداد 1390، 11:55 ق‌ظ
مشکل من دقیقا مثل این تاپیک     http://forum.ubuntu.ir/index.php/topic,717.msg51422.html#msg51422
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 06 امرداد 1390، 09:24 ب‌ظ
شما محتویات فایل
/etc/ntlmaps/server.cfg
رو بذارید اینجا
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 08 امرداد 1390، 10:04 ق‌ظ
#========================================================================

[GENERAL]



LISTEN_PORT: 5865



# If you want APS to authenticate you at WWW servers using NTLM then just leave this

# value blank like PARENT_PROXY: and APS will connect to web servers directly.

# You can specify more than one proxy by leaving a space between each one, and

# APS will detect when one fails and automatically fail-over to the next. EG:

#PARENT_PROXY:first_proxy second_proxy third_proxy

# And NOTE that NTLM cannot pass through another proxy server.

PARENT_PROXY: ec-fw1



PARENT_PROXY_PORT: 8080



# APS will poll the upstream proxy and attempt to fail-over to a new one if it doesn't

# get a response within an appropriate time frame.  The amount of time that it will

# wait for a response before attempting fail-over is specified, in seconds, below:

PARENT_PROXY_TIMEOUT:15



# Set to 1 if you want to grant this authorization service to clients from other computers.

# NOTE: all the users from other hosts that will be using you copy of APS for authentication

# will be using your credentials in NTLM auth at the remote host.

ALLOW_EXTERNAL_CLIENTS:0



# If you want to allow some other but not all computers to use your proxy for authorization,

# just set ALLOW_EXTERNAL_CLIENTS:0 and put friendly IP addresses here.

# Use space as a delimiter.

# NOTE that special addesses don't work here (192.168.3.0 for example).

FRIENDLY_IPS:



# Requested URLs are written to "url.log" file. May be useful.

URL_LOG:0



# When a network service listens for connections, there is a maximum number of connection

# attempts to that service that the underlying OS will allow to backlog waiting for a response

# before the OS will start dropping new connection attempts with 'Connection refused'.  The

# standard method of determining the maximum number of backlogged connections is to use the

# SOMAXCONN constant, which is supposed to represent the maximum number that an OS will support

# (for example, 5 on Windows 2000 Pro, and 200 on Windows 2000 server).  However, because this

# is a statically compiled value in a Python distribution, usually this instead represents the

# the most conservative value (5 on all Windows platforms, and 128 on the GNU/Linux variant I

# tried).  So if you are running (for example) a massively threaded/parallel download manager,

# the default value of, say, 5, or whatever SOMAXCONN happens to be set to, may be too low and

# cause some connections to fail.  The value below can be set to any integer (it seems that

# Python just silently caps values above the hard limit for the underlying platform), or it can

# be set to the special value of SOMAXCONN (i.e. MAX_CONNECTION_BACKLOG:SOMAXCONN), to use

# whatever this value happens to be set to in your Python build.  Setting this higher than

# necessary may cause APS to consume more memory than you needed to.

MAX_CONNECTION_BACKLOG:5



#========================================================================

[CLIENT_HEADER]
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 08 امرداد 1390، 10:06 ق‌ظ
خوب PARENT_PROXY: ec-fw1 چرا اینطوری هست؟ باید IP وارد کنید.
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 08 امرداد 1390، 10:08 ق‌ظ
همین طوری بهمون دادن تو ویندوز همینو میزنیم جواب میده http هستش دیگه حتما این به یه ای پی وصل میشه توی فایر فاکس هم همینو میزنم جواب میده ولی برای ترمینال نمدونم چرا ست نمیشه از تو ترمینال حتی ping هم ندارم
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 08 امرداد 1390، 10:11 ق‌ظ
بعد توی این فایل username و password‌هم وارد کردین؟
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 08 امرداد 1390، 10:15 ق‌ظ
اولش که نصب شد از من خواست و من وارد کردم ولی الان اینجا تو این فایل که چیزی مشخص نیست
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 08 امرداد 1390، 10:18 ق‌ظ
به نظرم باید IP رو بدست بیارید و وارد کنید
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 08 امرداد 1390، 10:34 ق‌ظ
ای پی رو گذاشتم شد این:
alirezaee-h@ec-ctr-its06:~$ sudo apt-get install gnome-activity-journal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libkldap4 libnspr4-0d libcpufreq0 libkimap4 libkmime4
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  python-pygments
Suggested packages:
  tracker ttf-bitstream-vera
The following NEW packages will be installed:
  gnome-activity-journal python-pygments
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 586 kB of archives.
After this operation, 3,748 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  gnome-activity-journal python-pygments
Install these packages without verification [y/N]? y
Err http://archive.ubuntu.com/ubuntu/ natty/universe gnome-activity-journal all 0.5.0.1-0ubuntu1
  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
Err http://archive.ubuntu.com/ubuntu/ natty/main python-pygments all 1.4+dfsg-1ubuntu1
  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/gnome-activity-journal/gnome-activity-journal_0.5.0.1-0ubuntu1_all.deb  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pygments/python-pygments_1.4+dfsg-1ubuntu1_all.deb  407  Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
alirezaee-h@ec-ctr-its06:~$
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 08 امرداد 1390، 10:36 ق‌ظ
راستش نمیدونم مشکل کجاست!
ضمنا اسم domain رو هم یادمه باید توی اون فایل وارد میکردید.
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: behdin در 08 امرداد 1390، 10:23 ب‌ظ
خیلی ممنون از اینکه برای من وقت گذاشتی حالا من تلاش خودمو میکنم تا راه حلشو پیدا کنم چون میخوام پیشنهاد بدم تو اداره از لینوکس بجای ویندوز استفاده بشه. باید بتونم از این موضوع دفاع کنم بنابراین باید همهچی درست کار بکنه
عنوان: پاسخ به: قطع و وصل شدن اینترنت
ارسال شده توسط: mFat در 08 امرداد 1390، 11:08 ب‌ظ
خواهش می‌کنم.