Wifi wolniejsze niż w windows

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
woogie
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 03 cze 2012, 18:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86_64

Wifi wolniejsze niż w windows

Post autor: woogie »

Witam.
Mam następujący problem: po "przejściu" na ubuntu z windowsa 7 x64 internet drastycznie mi zwolnił. Jedynie co się zmieniło to OS. Pod windowsem nadal mam 25-30 mb/s a w ubuntu mam 116,95 kB/s :(. Więc na tej podstawie sądzę że mam problem z konfiuguracją. Niestety jestem nowy w środowisku linuxa i nie mam nawet pomysłu gdzie zacząć szukać.
Proszę o szybką odpowiedź.
Dziękuję.
elwaen
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 177
Rejestracja: 17 maja 2012, 21:12
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86

Re: Wifi wolniejsze niż w windows

Post autor: elwaen »

http://lokir.wordpress.com/2010/11/08/s ... -04-10-10/
Spróbuj tego co jest tu zamieszczone. Masz tam też odnośnik do tematu gdzie jest więcej rozwiązań podanych.
woogie
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 03 cze 2012, 18:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: woogie »

Dzięki za szybką odpowiedź, jednakże niewiele mi to pomogło (trochę ale jednak nie do końca). Jak byś Mógł podać ten odnośnik o którym napisałeś, to był bym Ci wdzięczny.
Awatar użytkownika
Nettmanek
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 167
Rejestracja: 26 lis 2008, 18:51
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Środowisko graficzne: Unity
Architektura: x86_64
Lokalizacja: Wolverhampton
Kontakt:

Re: Wifi wolniejsze niż w windows

Post autor: Nettmanek »

u mnie ta rozbierzność jest mniejsza... na windzie mialem 1,2 MB/s a na linuksie mam 700-800KB/s
Lenovo G580-20150 | Intel Core i3 3120M | 8GB DD3 | Intel HD 4000 & Nvidia GF 710M | 1TB HDD | kubuntu 13.10 64bit
JerryG
Zakręcona Traszka
Zakręcona Traszka
Posty: 924
Rejestracja: 28 lut 2008, 21:22
Płeć: Mężczyzna
Wersja Ubuntu: 24.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: JerryG »

woogie pisze:Dzięki za szybką odpowiedź, jednakże niewiele mi to pomogło (trochę ale jednak nie do końca). Jak byś Mógł podać ten odnośnik o którym napisałeś, to był bym Ci wdzięczny.
1. W pliku /etc/nsswitch.conf usunac z linii zawierajacej po slowie files wszystko zostawiajac dns[podaje to co jest u mnie pod 12.04]

Kod: Zaznacz cały

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4_minimal
tak wyglada po usunieciu

Kod: Zaznacz cały

hosts:          files dns
2. W pliku /etc/resolv.conf usunac to co tam jest i wpisac
8.8.8.8
208.67.222.222
208.67.220.220
3. To co sie tyczy tego odnosnika:
Wyedytowac plik /etc/sysctl.conf i usunac komentarz wiec znak # z linii zawierajacej

Kod: Zaznacz cały

net.ipv4.tcp_syncookies = 1
i dopisac te dwie linie

Kod: Zaznacz cały

net.ipv4.tcp_window_scaling = 0
 net.ipv4.tcp_ecn = 0
restartowac kompa i powinno byc lepiej.
woogie
Piegowaty Guziec
Piegowaty Guziec
Posty: 3
Rejestracja: 03 cze 2012, 18:21
Płeć: Mężczyzna
Wersja Ubuntu: 11.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: woogie »

Dzięki, pomogło :)
Teraz mam problem z flashem ale to inny dział.
JerryG
Zakręcona Traszka
Zakręcona Traszka
Posty: 924
Rejestracja: 28 lut 2008, 21:22
Płeć: Mężczyzna
Wersja Ubuntu: 24.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: JerryG »

Dzisiaj przy instalacji kernela kolegi eXt73 nadpisal sie plik /etc/nsswitch.conf i znowu mial zapis

Kod: Zaznacz cały

hosts:          files mdns4_minimal [NOTFOUND=return] dns 
Zauwazylem ze net mi zwolnil, strony jak przed instalacja kernela bzykaly to teraz trzeba bylo czekac, na pierwszy rzut sprawdzilem DNS, plik /etc/sysctl.conf tu zmian nie bylo a w pliku /etc/nsswitch.conf pojawil sie wpis jak poprzednio pomiejszony o zapis mdns4_minimal.

Teraz znowu strony laduja sie w mgnieniu oka, co przy 20 megowym laczu powinno byc zawsze.

Edit: Na drugim lapku tez na wifi sciagam instalke DVD i na nim zauwazylem, ze spadla predkosc pobierania jak odpalilem swojego lapka przed ponownymi zmianami w tym pliku- czyzby dodatkowo sialo po mojej domowej sieci zaklocajac inne karty ?? bo po restarcie znowu z max predkoscia tam zaczelo sie sciagac a tu strony jak napisalem wyzej.
Krakos
Sędziwy Jeż
Sędziwy Jeż
Posty: 37
Rejestracja: 15 sty 2012, 13:21
Płeć: Mężczyzna
Wersja Ubuntu: 12.04
Środowisko graficzne: Xfce
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: Krakos »

dobrze edytowałem plik sysctl.conf??

Kod: Zaznacz cały

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_window_scaling = 0
#net.ipv4.tcp_ecn = 0

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
JerryG
Zakręcona Traszka
Zakręcona Traszka
Posty: 924
Rejestracja: 28 lut 2008, 21:22
Płeć: Mężczyzna
Wersja Ubuntu: 24.04
Środowisko graficzne: KDE Plasma
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: JerryG »

Edytowales :shock: nie widze :lol:
Tak wyglada edytowany - porownaj sobie

Kod: Zaznacz cały

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_ecn = 0

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
Krakos
Sędziwy Jeż
Sędziwy Jeż
Posty: 37
Rejestracja: 15 sty 2012, 13:21
Płeć: Mężczyzna
Wersja Ubuntu: 12.04
Środowisko graficzne: Xfce
Architektura: x86_64

Re: Wifi wolniejsze niż w windows

Post autor: Krakos »

Działa wszystko. no to podsumowanie (taki szybki poradniczek/podsumowanie dla ludzi którzy pierwszy raz maja styczność z konfiguracja sieci w ubuntu)

sudo gedit /etc/nsswitch.conf
usuwamy wszystko i wklejamy

Kod: Zaznacz cały

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

sudo gedit /etc/resolv.conf
usuwamy wszystko wklejamy

Kod: Zaznacz cały

8.8.8.8
208.67.222.222
208.67.220.220
sudo gedit /etc/sysctl.conf
usuwamy wszystko i wklejamy

Kod: Zaznacz cały

    #
    # /etc/sysctl.conf - Configuration file for setting system variables
    # See /etc/sysctl.d/ for additional system variables
    # See sysctl.conf (5) for information.
    #

    #kernel.domainname = example.com

    # Uncomment the following to stop low-level messages on console
    #kernel.printk = 3 4 1 3

    ##############################################################3
    # Functions previously found in netbase
    #

    # Uncomment the next two lines to enable Spoof protection (reverse-path filter)
    # Turn on Source Address Verification in all interfaces to
    # prevent some spoofing attacks
    #net.ipv4.conf.default.rp_filter=1
    #net.ipv4.conf.all.rp_filter=1

    # Uncomment the next line to enable TCP/IP SYN cookies
    # See http://lwn.net/Articles/277146/
    # Note: This may impact IPv6 TCP sessions too
    net.ipv4.tcp_syncookies = 1
    net.ipv4.tcp_window_scaling = 0
    net.ipv4.tcp_ecn = 0

    # Uncomment the next line to enable packet forwarding for IPv4
    #net.ipv4.ip_forward=1

    # Uncomment the next line to enable packet forwarding for IPv6
    #  Enabling this option disables Stateless Address Autoconfiguration
    #  based on Router Advertisements for this host
    #net.ipv6.conf.all.forwarding=1


    ###################################################################
    # Additional settings - these settings can improve the network
    # security of the host and prevent against some network attacks
    # including spoofing attacks and man in the middle attacks through
    # redirection. Some network environments, however, require that these
    # settings are disabled so review and enable them as needed.
    #
    # Do not accept ICMP redirects (prevent MITM attacks)
    #net.ipv4.conf.all.accept_redirects = 0
    #net.ipv6.conf.all.accept_redirects = 0
    # _or_
    # Accept ICMP redirects only for gateways listed in our default
    # gateway list (enabled by default)
    # net.ipv4.conf.all.secure_redirects = 1
    #
    # Do not send ICMP redirects (we are not a router)
    #net.ipv4.conf.all.send_redirects = 0
    #
    # Do not accept IP source route packets (we are not a router)
    #net.ipv4.conf.all.accept_source_route = 0
    #net.ipv6.conf.all.accept_source_route = 0
    #
    # Log Martian Packets
    #net.ipv4.conf.all.log_martians = 1
    #
Można jeszcze wywalic katalog (przed wywaleniem warto zrobić kopie zapasową)
sudo rm -r /etc/resolvconf

w centrum oprogramowania NAJPIERW instalujemy WICD pozniej wywalamy NetworkManager

w terminalu sudo reboot (w czasie restartu systemu warto zresetować Router i/lub modem)
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 9 gości