[RIJESENO] Ubuntu kablovski internet (GlobalNet)

Instalirao sam Ubuntu 8.04 i ne mogu da se konektujem na internet.Spajam se preko ethernet kabla.
Modem je Motorola SurfBoard SB5101E (svi u BiH je imaju)
Mrežna je Realtek RTL 8168/8111 Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Provajder Globalnet
pppoeconf javlja gresku da server s kojim je pokusao komunicirati ne odgovara.
Posto sve radi na Visti trebalo bi i na Linuxu.
Pomozite!

Ukratko, prvo provjeri je li ti mrežna detektovana dobro, ukucaj lspci i vidi imal ti mrežne:

Ukoliko je ima, provjeri sa dmesgom da li je učitan driver:

Sada je podigneš sa ifconfigom (ovo je pod pretpostavkom da je nađena kao eth0, u dmesgu će pisat tačno):

Sada pokušaš opet sa pppoeconfom naštimat konekciju:

Javi ako bude kakvih errora.

Fju, ovo mi je prvi pravi odgovor u zadnja 2 mjeseca.

lspci (sve sam pokretao kao root) :

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600 GT (rev a1)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Znaci da je detektovana (zadnji red)

dmesg | grep eth0:

[ 49.175040] eth0: RTL8168b/8111b at 0xffffc200008bc000, 00:19:db:f6:eb:1b, XID 38000000 IRQ 507
[ 110.529137] r8169: eth0: link up
[ 110.529145] r8169: eth0: link up
[ 129.910248] eth0: no IPv6 routers present

I na kraju kad napisem pppoeconf javi mi:

Sorry, I scanned 1 interface, but the Access
Concentrator of your provider did not respond. Please
check your network and modem cables. Another reason
for the scan failure may also be another running pppoe
process which controls the modem.

Zaboravio sam napomenuti pa sad napominjem da koristim 64-bitnu verziju Ubuntua, probao sam i sa Mandrivom, Kubuntuom (32bit i 64 bit)
i uvijek ista greska.
Bez podesavanja sa pppoeconf i sa defaultnim postavkama kakve dodju s Ubuntu-om, mogu preko Firefoxa pristupiti stranici provajdera
(www.globalnet.ba) i mogu pristupiti stranici za podesavanje Motorolinih modema (192.168.100.1) ostalo mi nista ne moze.

Veoma bitno pitanje: da li lampica “online” blinka ili svijetli konstantno?
EDIT: To sto je 64-bitna distribucija nema veze (bar ne bi trebalo, nek me neko slobodno ispravi), prednost tvoja je sto si tim rijesio year 2038 bug :slight_smile:

Sve lampice svjetle konstantno osim PC ACTIVITY koja blinka.Na Visti kada se NE konektujem na internet mogu pristupiti onim stranicama kao na Ubuntuu :slight_smile:

Kada odem na mrezne alate (Administration-network tools,alati:ping,whois…) na tabu devices odaberem eth0 kliknem na Configure i kaze mi da nema takvog uredjaja.Nize prikazuje da modem prima podatke i salje podatke.Na pingu mi nikako ne odgovara.Da se ne starta sa Ubuntuom kakav Firewall koji blokira saobracaj?Ako se starta kako iskljuciti?

Evo malo sam istrazio tvoj problem, do drivera je, r8169 ne radi kako treba dok r8168 od Realteka radi normalno. Ima vise rjesenja, sva su na Launchpadu ovdje: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/141343

Koliko sam vidio, najjednostavnije rjesenje je da dodas pci=nomsi na kernel liniju GRUB konfiguracije. Ukratko, otvori /boot/grub/menu.lst i na liniju:

dodaj pci=nomsi na kraj linije. Vjerovatno ces imati vise kernel linija, dodaj na svaku.

Ako jos uvijek ne radi javi.

Da li moram instalirati drajver ili samo izvrsiti ove promjene? :slight_smile:

Nece opet.Evo kako sam dodao u menu.lst:
Ima vise linija koda ali svi su # pa pretpostavljam da su komentari:

title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=CA884E2A884E157B loop=/ubuntu/disks/root.disk ro quiet splash pci=nomsi
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=CA884E2A884E157B loop=/ubuntu/disks/root.disk ro single pci=nomsi
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)/ubuntu/disks
kernel /boot/memtest86+.bin pci=nomsi

END DEBIAN AUTOMAGIC KERNELS LIST

This is a divider, added to separate the menu items below from the Debian

ones.

title Other operating systems:
root

This entry automatically added by the Debian installer for a non-linux OS

on /dev/sda1

title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1

Probao sam i instalirati drajver ali dobijem ove greske:

make clean modules (iz uputstva za 64 bitni drajver koji sam skinuo sa neta www.linux-drivers.org)
make -C src/ clean
make[1]: Entering directory /home/nedim/Desktop/r8168-8.001.00/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions make[1]: Leaving directory/home/nedim/Desktop/r8168-8.001.00/src’
make -C src/ modules
make[1]: Entering directory /home/nedim/Desktop/r8168-8.001.00/src' make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/nedim/Desktop/r8168-8.001.00/src modules make[2]: Entering directory/usr/src/linux-headers-2.6.24-16-generic’
CC [M] /home/nedim/Desktop/r8168-8.001.00/src/r8168_n.o
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:1397: error: unknown field ‘get_perm_addr’ specified in initializer
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:1397: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_init_board’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:1579: error: implicit declaration of function ‘SET_MODULE_OWNER’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_init_one’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:1763: error: ‘struct net_device’ has no member named ‘poll’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:1764: error: ‘struct net_device’ has no member named ‘weight’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_change_mtu’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2025: error: implicit declaration of function ‘netif_poll_enable’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_wait_for_quiescence’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2276: error: implicit declaration of function ‘netif_poll_disable’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_tso_csum’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2424: error: ‘struct sk_buff’ has no member named ‘nh’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_try_rx_copy’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2645: error: implicit declaration of function ‘eth_copy_and_sum’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2668: error: ‘struct net_device’ has no member named ‘quota’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2668: warning: type defaults to ‘int’ in declaration of ‘_y’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2668: error: ‘struct net_device’ has no member named ‘quota’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2668: warning: comparison of distinct pointer types lacks a cast
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_interrupt’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2832: error: too few arguments to function ‘netif_rx_schedule_prep’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2833: error: too few arguments to function ‘__netif_rx_schedule’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_poll’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2872: error: ‘struct net_device’ has no member named ‘quota’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2872: warning: type defaults to ‘int’ in declaration of ‘_y’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2872: error: ‘struct net_device’ has no member named ‘quota’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2880: error: ‘struct net_device’ has no member named ‘quota’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:2883: error: too few arguments to function ‘netif_rx_complete’
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c: In function ‘rtl8168_init_module’:
/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.c:3123: error: implicit declaration of function ‘pci_module_init’
make[3]: *** [/home/nedim/Desktop/r8168-8.001.00/src/r8168_n.o] Error 1
make[2]: *** [module/home/nedim/Desktop/r8168-8.001.00/src] Error 2
make[2]: Leaving directory /usr/src/linux-headers-2.6.24-16-generic' make[1]: *** [modules] Error 2 make[1]: Leaving directory/home/nedim/Desktop/r8168-8.001.00/src’
make: *** [modules] Error 2

:frowning:

Odavde sam skinuo skriptu i instalirao www.jamesonwilliams.com/bin/r8168_scripts.tar.bz2.

dmesg | grep eth0
[ 41.049316] eth0: Identified chip type is ‘RTL8168B/8111B’.
[ 41.049318] eth0: RTL8168B/8111B at 0xffffc200008bc000, 00:19:db:f6:eb:1b, IRQ 17
[ 42.551381] r8168: eth0: link down
[ 42.706000] r8168: eth0: link up
[ 57.079636] eth0: no IPv6 routers present
[ 401.691075] r8168: eth0: link up
[ 403.810924] r8168: eth0: link up
[ 416.198408] eth0: no IPv6 routers present

pppoeconf opet nece.
Desni klik u gornjem desnom uglu na konekcije i idem connection information i prikaze mi da je drajver r8168
IP adres,Gateway i ostalo je popunjeno podacima.

E pogledo sam onaj mail i da, prema GlobalNETovim uputstvima oni koriste VPN za konekciju.
Imas ovdje uputstvo kako da to nastimas za Ubuntu: https://wiki.ubuntu.com/VPN
Ako nesto ne bude jasno, javi pa cemo rijesit :wink:

RADI!
Upravo se javljam sa Ubuntua i sve perfektno funkcionise, dovoljno da Windows ode sa diska.
Prvo sam sa Windowsa rucno skinuo instalaciju pokrenuo je i sve se automatski instaliralo.Lijevi klik na VPN connections --> Configure VPN i pokrene se wizard.Sve sam ostavio kako jeste samo sam u gateway upisao IP adresu koja se moze naci u svakom prirucniku provajdera i ime provajdera.Kad sam sve zavrsio resetovao, isao opet na VPN connections odabrao provajdera upisao username pass i evo me sad ovdje.
(ovo je bio mali zakljucak, ako neko naleti na problem kao ja)

Super! Stavi samo tag [RIJESENO] na naslov teme :slight_smile:

Dodao sam ime provajdera u topic pošto je rješenje specifično za provajder.

Evo i mene sa UBUNTU-a preko VPN , preko GlobalNeta uz pomoc Nedima…

hvala Nedime , pravo je lako bilo uz tvoju pomoc , namucio sam se prije toga 10 noci…

Evo i moj skromni prilog u vezi ove teme:

1.Prvi korak koji trebate napravit je da skinete pptp linux client:
http://packages.ubuntu.com/intrepid/pptp-linux
i instalirate ga.

2.Drugi korak je da skinete network menager pptp client:
http://packages.ubuntu.com/jaunty/network-manager-pptp
i instalirate ga.

3.Kad instalirate Ubuntu,bilo da je integrisan u Windows ili na cijeloj svojoj particiji,pri pojavi desktopa u gornjem desnom uglu imate ikonicu sa dva kompjutera(ikona uspostave konekcije),na nju prinesite strelicu miša i kliknite na nju lijevim klikom.Nakon toga dobijete slijedći prozor:

4.Kliknite na Configure VPN

5.

6.Kliknite na Add

7.

  1. Kliknite na Create

9.

U ovom prozoru možete upistai ime konekcije po želji,onda u gateway vpn.gnet.ba,svoj password i user name,NT domain možte ostaviti prazno,pa kliknite na Advance

10.
Odcekirajte PAP, sve ostalo cekirajte,onda klik na OK

11.
U ovom prozoru možete kliknuti ili na DENY ILI ALLOW ALWAYS, stim što ako idete na DENY onda će vas kod svakog logovanja pitati za password, a kod allow always neće,nego će konekcija da se uspostavi automatski

12.
Ovaj se prozor pojavi nakon potvrde DENY

Restartujte kompjuter i ponovo idite na ikonu sa dva kompjutera(gornji desni ugao ekrana),pa na ime konkcije koju ste dali i connect i to je to :slight_smile:

bravo majstore!

http://www.youtube.com/watch?v=YUgSpKFhuqg&hd=1