V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
hustlike
V2EX  ›  Linux

ubuntu宽带连接求教

  •  
  •   hustlike · 2013-07-16 16:21:07 +08:00 · 3849 次点击
    这是一个创建于 4177 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近回家用ubuntu7.02连自家宽带死活连不上,之前在学校用无线没啥问题。试了google到的方法也没用。求大牛指点一二,感激不尽。
    10 条回复    1970-01-01 08:00:00 +08:00
    maoyipeng
        1
    maoyipeng  
       2013-07-16 16:30:20 +08:00 via iPad
    我去,7。02?你该升级了吧。。。
    你是pppoe?把日志贴上来
    jsz
        2
    jsz  
       2013-07-16 17:17:23 +08:00
    ubuntu 还有 02 ??????

    贴日志,dmesg, /var/log/messages
    momou
        3
    momou  
       2013-07-16 17:23:46 +08:00
    7.02!?难道是10几年前的老机器。。。
    JackyHua
        4
    JackyHua  
       2013-07-16 17:48:59 +08:00
    猜测pppoe没拨成功!
    hustlike
        5
    hustlike  
    OP
       2013-07-16 21:24:09 +08:00
    @maoyipeng 是四年前装的系统,因为当时有个程序要用到,后面因为用的少就没有更新。
    hustlike
        6
    hustlike  
    OP
       2013-07-16 21:24:32 +08:00
    @momou 没有那么老。。
    hustlike
        7
    hustlike  
    OP
       2013-07-16 21:27:02 +08:00
    @maoyipeng
    @JackyHua
    @jsz 这是日志。麻烦各位前辈帮忙看看,感激不尽。
    [ 0.227924] system 00:05: ioport range 0x164e-0x164f has been reserved
    [ 0.227926] system 00:05: ioport range 0xfe00-0xfe00 has been reserved
    [ 0.227931] system 00:06: ioport range 0x6a0-0x6af has been reserved
    [ 0.227934] system 00:06: ioport range 0x6b0-0x6ff has been reserved
    [ 0.227940] system 00:0a: iomem range 0xfed1c000-0xfed1ffff has been reserved
    [ 0.227942] system 00:0a: iomem range 0xfed10000-0xfed13fff has been reserved
    [ 0.227945] system 00:0a: iomem range 0xfed18000-0xfed18fff has been reserved
    [ 0.227947] system 00:0a: iomem range 0xfed19000-0xfed19fff has been reserved
    [ 0.227950] system 00:0a: iomem range 0xe0000000-0xefffffff has been reserved
    [ 0.227953] system 00:0a: iomem range 0xfed20000-0xfed3ffff has been reserved
    [ 0.227955] system 00:0a: iomem range 0xfed40000-0xfed44fff has been reserved
    [ 0.227958] system 00:0a: iomem range 0xfed45000-0xfed8ffff has been reserved
    [ 0.262599] AppArmor: AppArmor Filesystem Enabled
    [ 0.262666] pci 0000:00:01.0: PCI bridge, secondary bus 0000:01
    [ 0.262669] pci 0000:00:01.0: IO window: 0x2000-0x2fff
    [ 0.262673] pci 0000:00:01.0: MEM window: 0xcc000000-0xcdefffff
    [ 0.262676] pci 0000:00:01.0: PREFETCH window: 0x000000ce000000-0x000000dfffffff
    [ 0.262681] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
    [ 0.262685] pci 0000:00:1c.0: IO window: 0x3000-0x3fff
    [ 0.262691] pci 0000:00:1c.0: MEM window: 0xf6000000-0xf7ffffff
    [ 0.262696] pci 0000:00:1c.0: PREFETCH window: 0x000000f0000000-0x000000f1ffffff
    [ 0.262703] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:04
    [ 0.262706] pci 0000:00:1c.2: IO window: 0x4000-0x4fff
    [ 0.262712] pci 0000:00:1c.2: MEM window: 0xf8000000-0xf9ffffff
    [ 0.262717] pci 0000:00:1c.2: PREFETCH window: 0x000000f2000000-0x000000f3ffffff
    [ 0.262725] pci 0000:00:1c.3: PCI bridge, secondary bus 0000:06
    [ 0.262728] pci 0000:00:1c.3: IO window: 0x5000-0x5fff
    [ 0.262734] pci 0000:00:1c.3: MEM window: 0xfa000000-0xfbffffff
    [ 0.262739] pci 0000:00:1c.3: PREFETCH window: 0x000000f4000000-0x000000f5ffffff
    [ 0.262747] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:08
    [ 0.262748] pci 0000:00:1e.0: IO window: disabled
    [ 0.262754] pci 0000:00:1e.0: MEM window: disabled
    [ 0.262759] pci 0000:00:1e.0: PREFETCH window: disabled
    [ 0.262769] alloc irq_desc for 16 on node -1
    [ 0.262771] alloc kstat_irqs on node -1
    [ 0.262776] pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 0.262780] pci 0000:00:01.0: setting latency timer to 64
    [ 0.262787] alloc irq_desc for 17 on node -1
    [ 0.262789] alloc kstat_irqs on node -1
    [ 0.262792] pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    [ 0.262797] pci 0000:00:1c.0: setting latency timer to 64
    [ 0.262805] alloc irq_desc for 18 on node -1
    [ 0.262807] alloc kstat_irqs on node -1
    [ 0.262810] pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
    [ 0.262815] pci 0000:00:1c.2: setting latency timer to 64
    [ 0.262823] alloc irq_desc for 19 on node -1
    [ 0.262824] alloc kstat_irqs on node -1
    [ 0.262827] pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    [ 0.262832] pci 0000:00:1c.3: setting latency timer to 64
    [ 0.262840] pci 0000:00:1e.0: setting latency timer to 64
    [ 0.262845] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
    [ 0.262847] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
    [ 0.262849] pci_bus 0000:01: resource 0 io: [0x2000-0x2fff]
    [ 0.262852] pci_bus 0000:01: resource 1 mem: [0xcc000000-0xcdefffff]
    [ 0.262854] pci_bus 0000:01: resource 2 pref mem [0xce000000-0xdfffffff]
    [ 0.262857] pci_bus 0000:02: resource 0 io: [0x3000-0x3fff]
    [ 0.262859] pci_bus 0000:02: resource 1 mem: [0xf6000000-0xf7ffffff]
    [ 0.262861] pci_bus 0000:02: resource 2 pref mem [0xf0000000-0xf1ffffff]
    [ 0.262864] pci_bus 0000:04: resource 0 io: [0x4000-0x4fff]
    [ 0.262866] pci_bus 0000:04: resource 1 mem: [0xf8000000-0xf9ffffff]
    [ 0.262868] pci_bus 0000:04: resource 2 pref mem [0xf2000000-0xf3ffffff]
    [ 0.262871] pci_bus 0000:06: resource 0 io: [0x5000-0x5fff]
    [ 0.262873] pci_bus 0000:06: resource 1 mem: [0xfa000000-0xfbffffff]
    [ 0.262875] pci_bus 0000:06: resource 2 pref mem [0xf4000000-0xf5ffffff]
    [ 0.262878] pci_bus 0000:08: resource 3 io: [0x00-0xffff]
    [ 0.262880] pci_bus 0000:08: resource 4 mem: [0x000000-0xffffffff]
    [ 0.262911] NET: Registered protocol family 2
    [ 0.262992] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.263273] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [ 0.263764] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    [ 0.263969] TCP: Hash tables configured (established 131072 bind 65536)
    [ 0.263971] TCP reno registered
    [ 0.264031] NET: Registered protocol family 1
    [ 0.264083] Trying to unpack rootfs image as initramfs...
    [ 0.435461] Freeing initrd memory: 7467k freed
    [ 0.439657] Simple Boot Flag at 0x37 set to 0x1
    [ 0.439823] cpufreq-nforce2: No nForce2 chipset.
    [ 0.439848] Scanning for low memory corruption every 60 seconds
    [ 0.439949] audit: initializing netlink socket (disabled)
    [ 0.439965] type=2000 audit(1374006731.435:1): initialized
    [ 0.447878] highmem bounce pool size: 64 pages
    [ 0.447883] HugeTLB registered 4 MB page size, pre-allocated 0 pages
    [ 0.449193] VFS: Disk quotas dquot_6.5.2
    [ 0.449244] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.449727] fuse init (API version 7.12)
    [ 0.449797] msgmni has been set to 1705
    [ 0.449984] alg: No test for stdrng (krng)
    [ 0.449993] io scheduler noop registered
    [ 0.449995] io scheduler anticipatory registered
    [ 0.449997] io scheduler deadline registered
    [ 0.450032] io scheduler cfq registered (default)
    [ 0.450196] pci 0000:01:00.0: Boot video device
    [ 0.450311] alloc irq_desc for 24 on node -1
    [ 0.450313] alloc kstat_irqs on node -1
    [ 0.450322] pcieport-driver 0000:00:01.0: irq 24 for MSI/MSI-X
    [ 0.450328] pcieport-driver 0000:00:01.0: setting latency timer to 64
    [ 0.450453] alloc irq_desc for 25 on node -1
    [ 0.450455] alloc kstat_irqs on node -1
    [ 0.450463] pcieport-driver 0000:00:1c.0: irq 25 for MSI/MSI-X
    [ 0.450474] pcieport-driver 0000:00:1c.0: setting latency timer to 64
    [ 0.450626] alloc irq_desc for 26 on node -1
    [ 0.450628] alloc kstat_irqs on node -1
    [ 0.450636] pcieport-driver 0000:00:1c.2: irq 26 for MSI/MSI-X
    [ 0.450647] pcieport-driver 0000:00:1c.2: setting latency timer to 64
    [ 0.450795] alloc irq_desc for 27 on node -1
    [ 0.450797] alloc kstat_irqs on node -1
    [ 0.450805] pcieport-driver 0000:00:1c.3: irq 27 for MSI/MSI-X
    [ 0.450816] pcieport-driver 0000:00:1c.3: setting latency timer to 64
    [ 0.450915] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 0.451052] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
    [ 0.452293] ACPI: AC Adapter [ADP1] (on-line)
    [ 0.452345] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
    [ 0.452349] ACPI: Power Button [PWRF]
    [ 0.452407] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
    [ 0.452444] ACPI: Lid Switch [LID0]
    [ 0.452481] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
    [ 0.452487] ACPI: Power Button [PWRB]
    [ 0.452524] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
    [ 0.452527] ACPI: Sleep Button [SLPB]
    [ 0.452631] fan PNP0C0B:00: registered as cooling_device0
    [ 0.452636] ACPI: Fan [FAN0] (off)
    [ 0.452712] fan PNP0C0B:01: registered as cooling_device1
    [ 0.452717] ACPI: Fan [FAN1] (off)
    [ 0.453427] ACPI: SSDT 7fd1aca0 00223 (v01 PmRef Cpu0Ist 00003000 INTL 20050624)
    [ 0.454100] ACPI: SSDT 7fd19020 00C78 (v01 PmRef Cpu0Cst 00003001 INTL 20050624)
    [ 0.456153] Monitor-Mwait will be used to enter C-1 state
    [ 0.456175] Monitor-Mwait will be used to enter C-2 state
    [ 0.456182] Marking TSC unstable due to TSC halts in idle
    [ 0.456204] Switched to high resolution mode on CPU 0
    [ 0.456214] ACPI: CPU0 (power states: C1[C1] C2[C2])
    [ 0.456230] processor LNXCPU:00: registered as cooling_device2
    [ 0.456233] ACPI: Processor [CPU0] (supports 8 throttling states)
    [ 0.456642] ACPI: SSDT 7fd1aa20 001CF (v01 PmRef ApIst 00003000 INTL 20050624)
    [ 0.456998] ACPI: SSDT 7fd1af20 0008D (v01 PmRef ApCst 00003000 INTL 20050624)
    [ 0.457421] Switched to high resolution mode on CPU 1
    [ 0.457951] ACPI: CPU1 (power states: C1[C1] C2[C2])
    [ 0.457968] processor LNXCPU:01: registered as cooling_device3
    [ 0.457971] ACPI: Processor [CPU1] (supports 8 throttling states)
    [ 0.462185] thermal LNXTHERM:01: registered as thermal_zone0
    [ 0.462192] ACPI: Thermal Zone [TZ00] (64 C)
    [ 0.463333] thermal LNXTHERM:02: registered as thermal_zone1
    [ 0.463342] ACPI: Thermal Zone [TZ01] (64 C)
    [ 0.463392] isapnp: Scanning for PnP cards...
    [ 0.522274] ACPI: Battery Slot [BAT1] (battery present)
    [ 0.819142] isapnp: No Plug & Play device found
    [ 0.820196] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.821353] brd: module loaded
    [ 0.821743] loop: module loaded
    [ 0.821801] input: Macintosh mouse button emulation as /devices/virtual/input/input4
    [ 0.821864] ahci 0000:00:1f.2: version 3.0
    [ 0.821877] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    [ 0.821908] alloc irq_desc for 28 on node -1
    [ 0.821909] alloc kstat_irqs on node -1
    maoyipeng
        8
    maoyipeng  
       2013-07-16 21:33:44 +08:00 via iPad
    @hustlike 你找有ppp字样的。。
    momou
        9
    momou  
       2013-07-16 22:55:11 +08:00 via Android
    你的宽带要拨号?还是接路由?
    ceyes
        10
    ceyes  
       2013-07-17 00:36:59 +08:00
    在学校无线没问题只说明无线网卡工作正常。
    在家连宽带你得知道你家用的是什么接入方式啊。

    首先家里连宽带使用的应该是有线以太网卡,需确保该网卡工作正常:
    1)确定网线没问题,连接后网卡灯亮。
    2)需要有该网卡驱动
    `ifconfig -a` 应该能看到ethX,没有就说明有问题了,需编译驱动。
    用`lspci -v` 去找你网卡需要用的驱动
    3)确认该网卡起来了
    `ifconfig ethX up`
    `ethtool ethX` 检测网卡状态

    然后才是网络配置,根据不同接入方式而具体设置。
    1)是ADSL的话,去搜pppoe的配置。
    2)有个IP就能接入的话,是DHCP还是手动指定?去问网管。
    ……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5989 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 113ms · UTC 03:08 · PVG 11:08 · LAX 19:08 · JFK 22:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.