Ubuntu kein Internet

huwi

Mitglied
Mojen,

ich habe mir mal das Ubuntu parallel zu Windows auf eine neue Partition installiert :)

So alles klappte super nur das ich leider nicht ins Internet komme. Wir haben einen Speedport W700V und normalerweise ein DFÜ Netzwerk. Also ich brauche keine Programme installieren. Internet ist immer da.

Ich dachte es könnte sein, das meine Realtek Gigabitlankarte nicht erkannt ist. Also habe ich mir mal den Treiber auf der Hersteller-Seite besorgt. Da sind zwar ein paar Dateien drin, aber wenn ich die öffne sehe ich nur Codefragmente. Stelle ich unter Eigenschaften Ausführen ein, startet das Programm aber ist sofort wieder geschlossen... WAS NUN

:eek::eek: Hoffe könnt mir helfen..

MFG HUWI :confused:
 
Hi,
schau mal unter
System -> Administration -> Netzwerk
da sollte dir deine Karte nomralerweise angezeigt wenn er sie kennt.

Wenn nicht musst du den Treiber zuerst mal compilieren bevor du ihn benutzen kannst.
Ist garnicht mal so schwer. In dem Archiev sollte eine README liegen da ist meistens eine Anleitung drin.
Wahrscheinlich wirst du nur folgendes machen müssen:
(Ich hoffe du kommst mit nem Terminal klar?)
Code:
# make
# sudo make install
Das musst du in dem Verzeichnis ausführen in dem eine Datei namens "Makfile" liegt.
Aber schau lieber vorher nochmal nach was die README sagt.

Danach sollte er irgendwo eine treibername.ko Datei erzeugt haben wenn es geklapt hat. Das ist nun dein Treibermodul das du laden kannst.
Code:
# sudo insmod treibername.ko
Am besten du postest mal die Ausgabe von ifconfig
Anwendung -> Zuberhör -> Terminal
Code:
# ifconfig -a
Gruß Benny
 
Erstmal danke für die antwort

sorry aber ich habe leider noch keine Erfahrungen mit den Terminal bei Linux. sry :confused:

aber ich habe stolz eine Readme Datei gefunden, woraus ich aber auch nit schlau werde, aber du vielleicht :

<Linux device driver for Realtek Ethernet controllers>

This is the Linux device driver released for RealTek RTL8169S/8110S, RTL8169SB/8110SB, and RTL8110SC.

<Requirements>

- kernel source tree (supported Linux kernel 2.6.x/2.4.20 and latter)
- compiler/binutils for kernel compilation

<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko(or r8169.o for linux kernel 2.4.x), is installed.
# lsmod | grep r8169

If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remove it again or reboot your computer.

Unpack the tarball :
# tar vjxf r8169-6.aaa.bb.tar.bz2

Change to the directory:
# cd r8169-6.aaa.bb

If you are running the target kernel, then you should be able to do :

# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8169.ko (or r8169.o for linux kernel 2.4.x)

You can check whether the driver is loaded by using following commands.

# lsmod | grep r8169
# ifconfig -a

If there is a device name, ethX, shown on the monitor, the linux
driver is loaded. Then, you can use the following command to activate
the ethX.

# ifconfig ethX up

, where X=0,1,2,...



MFG
HUWI :rolleyes:
__________________
 
Bevor Du anfägst irgendwas zu kompilieren, was gerade für den Anfänger eine recht hohe Hürde ist, poste mal bitte die Ausgaben von:

Code:
lspci
lsmod
ifconfig -a

Du hast ja geschrieben, dass Du per "DFÜ-Netzwerk" mit dem Router verbindest, heißt das, dass Du Dich jedesmal manuell einwählst oder wählt sich der Router ins Netz?
 
Im Endeffekt wird es wohl daran liegen, dass der Router (wohl eher ein Modem?) vom PC initiiert werden muss ins Internet einzuwählen und der Lan-Adapter funktioniert (offensichtlich ein Controller der Firma Realtek), da der Treiber im Kernel als Modul enthalten ist. Insofern wäre die Ausgabe von lspci und lsmod wirklich interessant. Sollte es sich wie besagt um ein Modem handelt erfolgt der Verbindungsaufbau via PPPoE und du findest hier eine Anleitung dazu:

DSL via PPPoE
 
so danke schonmal für die Antworten...


Aber folgendes: Es ist kein Modem, sondern ein Router. Ich kann ohne Passwort oder Benutzername immer ins Internet wann ich will. Glaube das ist dieses DFÜ. Mein Rounter unterstützt auch dieses DHCP, aber irgendwie bekomme ich auch keine IP adresse zugewiesen....

:eek:

MFG
HUWI
 
Öffne einfach mal ein Terminal
Anwendungen -> Zubehör -> Terminal

Und dort tippst du folgende Befehle ein

lspci
lsmod
ifconfig -a
Eine Zeile ist ein Befehl. Einfach nur eintippen und dann Enter.
Dann die nächste Zeile. Und die Ausgaben von allen Programmen
posten. Zusätzlich kannst du auch noch mal schauen was passiert
wenn du
Code:
sudo dhclient
aufrufst. Normalerweise sollte dir dabei eine IP-Adresse zugewiesen werden
wenn alles klappt. Die Ausgabe am besten auch posten.

Gruß Benny
 
moje...
danke schonmal für eure zahlreichen Hilfsversuche ..so hier mal eure geforderten Daten:

huwi@huwi:~$ lspci
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:10.0 Host bridge: ALi Corporation M1695 K8 Northbridge [PCI Express and HyperTransport]
00:11.0 PCI bridge: ALi Corporation PCI Express Root Port
00:12.0 PCI bridge: ALi Corporation PCI Express Root Port
00:13.0 PCI bridge: ALi Corporation PCI Express Root Port
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
01:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:00.0 VGA compatible controller: ATI Technologies Inc Radeon X1950 GT (rev 9a)
04:00.1 Display controller: ATI Technologies Inc Radeon X1950 GT (Secondary) (rev 9a)
05:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
05:07.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
huwi@huwi:~$ lsmod
Module Size Used by
ipv6 311848 14
af_packet 27272 3
radeon 131360 0
drm 105896 1 radeon
rfcomm 47392 2
l2cap 28800 13 rfcomm
bluetooth 67748 4 rfcomm,l2cap
ppdev 11400 0
powernow_k8 16608 1
cpufreq_userspace 6180 0
cpufreq_conservative 10632 0
cpufreq_powersave 3200 0
cpufreq_ondemand 11152 1
cpufreq_stats 8416 0
freq_table 6464 3 powernow_k8,cpufreq_ondemand,cpufreq_stats
container 6656 0
video 23444 0
output 5632 1 video
dock 12960 0
sbs 17808 0
sbshc 8960 1 sbs
battery 16776 0
iptable_filter 4608 0
ip_tables 24104 1 iptable_filter
x_tables 23560 1 ip_tables
ac 8328 0
lp 14916 0
snd_emu10k1_synth 9472 0
snd_emux_synth 40960 1 snd_emu10k1_synth
snd_seq_virmidi 9344 1 snd_emux_synth
snd_seq_midi_emul 9088 1 snd_emux_synth
snd_emu10k1 162272 4 snd_emu10k1_synth
snd_ac97_codec 123224 1 snd_emu10k1
ac97_bus 3840 1 snd_ac97_codec
snd_pcm_oss 47648 0
snd_mixer_oss 20224 1 snd_pcm_oss
snd_pcm 92168 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 13200 2 snd_emu10k1,snd_pcm
snd_util_mem 6656 2 snd_emux_synth,snd_emu10k1
snd_hwdep 12552 2 snd_emux_synth,snd_emu10k1
snd_seq_dummy 5764 0
snd_seq_oss 38912 0
snd_seq_midi 10688 0
snd_rawmidi 29856 3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
snd_seq_midi_event 10112 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 63232 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 27912 3 snd_emu10k1,snd_pcm,snd_seq
snd_seq_device 10644 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 70856 20 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
emu10k1_gp 5632 0
gameport 17936 2 emu10k1_gp
soundcore 10400 1 snd
button 10912 0
i2c_nforce2 8704 0
i2c_core 28544 1 i2c_nforce2
k8temp 7680 0
parport_pc 41128 1
parport 44300 3 ppdev,lp,parport_pc
shpchp 38172 0
pci_hotplug 34608 1 shpchp
evdev 14976 3
pcspkr 4992 0
ext3 149264 1
jbd 57000 1 ext3
mbcache 11392 1 ext3
sr_mod 20132 0
cdrom 41512 1 sr_mod
pata_jmicron 8448 0
sata_nv 31752 0
sg 41880 0
usb_storage 82496 1
libusual 23520 1 usb_storage
sd_mod 33280 5
pata_acpi 9856 0
pata_amd 16772 2
usbhid 35296 0
hid 44992 1 usbhid
r8169 36612 0
ahci 33028 0
ata_generic 9988 0
libata 176432 6 pata_jmicron,sata_nv,pata_acpi,pata_amd,ahci,ata_generic
scsi_mod 178488 5 sr_mod,sg,usb_storage,sd_mod,libata
ehci_hcd 41996 0
ohci_hcd 27524 0
usbcore 169904 6 usb_storage,libusual,usbhid,ehci_hcd,ohci_hcd
thermal 19744 0
processor 41448 2 powernow_k8,thermal
fan 6792 0
fbcon 46336 0
tileblit 4096 1 fbcon
font 10112 1 fbcon
bitblit 7424 1 fbcon
softcursor 3712 1 bitblit
fuse 56112 5
huwi@huwi:~$ ifconfig -a
eth0 Link encap:Ethernet Hardware Adresse 00:19:66:58:f0:63
inet6-Adresse: fe80::219:66ff:fe58:f063/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:252 Basisadresse:0x6000

eth0:avahi Link encap:Ethernet Hardware Adresse 00:19:66:58:f0:63
inet Adresse:169.254.7.157 Bcast:169.254.255.255 Maske:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
Interrupt:252 Basisadresse:0x6000

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:1496 errors:0 dropped:0 overruns:0 frame:0
TX packets:1496 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:75944 (74.1 KB) TX bytes:75944 (74.1 KB)

huwi@huwi:~$

------


Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:19:66:58:f0:63
Sending on LPF/eth0/00:19:66:58:f0:63
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21

sudo lspDHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
ci
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
huwi@huwi:~$
huwi@huwi:~$ sudo lspci
sudo: unable to resolve host huwi
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:10.0 Host bridge: ALi Corporation M1695 K8 Northbridge [PCI Express and HyperTransport]
00:11.0 PCI bridge: ALi Corporation PCI Express Root Port
00:12.0 PCI bridge: ALi Corporation PCI Express Root Port
00:13.0 PCI bridge: ALi Corporation PCI Express Root Port
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
01:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:00.0 VGA compatible controller: ATI Technologies Inc Radeon X1950 GT (rev 9a)
04:00.1 Display controller: ATI Technologies Inc Radeon X1950 GT (Secondary) (rev 9a)
05:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
05:07.1 Input device controller: Creative Labs SB Live! Game Port (rev 07)
huwi@huwi:~$

so hoffe daraus werdet ihr schlauer ^^ ;-)

MFG
Huwi:)
 
Hi,
also deine Netzwerkkarte wurde auf jeden Fall gefunden und
der Linuxtreiber wurde auch geladen, aber wie du schon sagtest
du bekommst keine IP-Adresse zugewiesen.

Ist der DHCP Server in deinem Router auch aktiviert?
 

Neue Beiträge

Zurück