#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    canada
    Posts
    5
    Rep Power
    0

    Red face pppoe for freebsd


    im running free bsd 4.5 on a 166 mhz with 128MB of ram with a 3com nic 3c905 tx
    ive tried every method trying to connect to my sympatico dsl account with no avail. I configured my ppp.conf options.conf etc... i just cant dial out.

    Any suggestions would be appreciated...
    Last edited by silvertooth; March 19th, 2002 at 03:07 PM.
  2. #2
  3. A PAtCHy sErver
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Italy
    Posts
    408
    Rep Power
    14
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    canada
    Posts
    5
    Rep Power
    0
    Originally posted by pippo
    I'm the less appropriate man that can answer to a BSD question,
    but I hope that these links will help you:

    http://www.daemonnews.org/200101/pppoe.html

    http://www.freebsd.org/doc/en_US.ISO...ook/pppoe.html

    http://freebsdhowtos.com/80.html

    http://logicsquad.net/freebsd/PPPoE-how-to.html
    Thanks for your interest in trying to help, actually i found 2 off the suggested sites and still couldnt get it to work. I think my nic is not properly installed.When i do a ifconfig my nic appears as X10
    when i try to assign an ip so i can ssh it says X is not a recognizable value etc... but when I compile the KERNEL it shows 3com905b-tx so im clueless at this point. So out of frustration i went to buy a router. So now I just added to the stress.

    TIA
    Last edited by silvertooth; March 23rd, 2002 at 12:42 AM.
  6. #4
  7. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Hehe, I had the same problem... it's xl0 "ex-el-zero" not x10.

    Also, it's a lower case x, not upper case.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    canada
    Posts
    5
    Rep Power
    0

    Lightbulb


    daaaamn dude, that makes a lot more sense. (I SHOULD SLEEP MORE B4 TRYING TO CONFIG LINUX) It even puzzled my friends, now that i know it's x el 0 it should make things easier. But im still keeping my router hehehe

    TIA

    P.S
    Should i compile my KERNEL with xl0 under DEVICES???
    Last edited by silvertooth; March 24th, 2002 at 01:57 AM.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> Should i compile my KERNEL with xl0 under DEVICES?

    Unlike most Linux users, when you are a FreeBSD user, you will definitely want to compile a custom kernel for optimization. Though xl0 with 0 is for ISA device. For PCI you only need xl plus other appropriate miibus or so.
  12. #7
  13. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Though xl0 with 0 is for ISA device. For PCI you only need xl plus other appropriate miibus
    Really? What happens if I have two 3c905-TX cards?
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    canada
    Posts
    5
    Rep Power
    0
    im just curious?? then why does it show xl0 if i dont have any ISA cards in my computer, besides my sound card but i didnt install my sound card.
    here's what i get when i do a dmesg|more :



    Copyright (c) 1992-2002 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
    FreeBSD 4.5-RELEASE #2: Sun Mar 24 01:20:49 GMT 2002
    root@:/usr/src/sys/compile/CHIPPY
    Timecounter "i8254" frequency 1193182 Hz
    CPU: Pentium/P54C (166.61-MHz 586-class CPU)
    Origin = "GenuineIntel" Id = 0x52c Stepping = 12
    Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
    real memory = 134217728 (131072K bytes)
    avail memory = 125894656 (122944K bytes)
    Preloaded elf kernel "kernel" at 0xc04a0000.
    Intel Pentium detected, installing workaround for F00F bug
    md0: Malloc disk
    npx0: <math processor> on motherboard
    npx0: INT 16 interface
    pcib0: <Host to PCI bridge> on motherboard
    pci0: <PCI bus> on pcib0
    isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
    isa0: <ISA bus> on isab0
    atapci0: <Intel PIIX3 ATA controller> port 0x9000-0x900f at device 7.1 on pci0
    ata0: at 0x1f0 irq 14 on atapci0
    pci0: <Trident model 9660 VGA-compatible display device> at 9.0
    xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6100-0x617f mem 0xe0410000-0xe041007f irq 11 at device 10.0 on pci0
    xl0: Ethernet address: 00:10:5a:99:cf:08
    miibus0: <MII bus> on xl0
    xlphy0: <3Com internal media interface> on miibus0
    xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
    fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
    fd0: <1440-KB 3.5" drive> on fdc0 drive 0
    atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
    atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
    kbd0 at atkbd0
    vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: VGA <16 virtual consoles, flags=0x300>
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 16550A
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
    ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
    ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
    ppc0: FIFO with 16/16/16 bytes threshold
    plip0: <PLIP network interface> on ppbus0
    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port
    ppi0: <Parallel I/O> on ppbus0
    ad0: 1916MB <Maxtor 72004 AP> [3893/16/63] at ata0-master WDMA2
    acd0: CDROM <MAT****A CR-583> at ata0-slave using PIO3
    Mounting root from ufs:/dev/ad0s1a

    as you can see it detects my 3com as xl0???(its a PCI card!)

    I already compiled a custom KERNEL for myself.
    I tried everything to try to get online with my sympatico DSL internet but no scripts worked.

    so I bought a router, added ifconfig_xl0="DHCP" (rc.conf) and voila my bsd was finally on-line and assigned an ip. So now i have a static ip, no more need for dns2go.
    Until I added that value to rc.conf nothing worked, the strange thing was I was able to ping the router and local host with succes.

    If you have any suggestions let me no.

    TIA
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> Really? What happens if I have two 3c905-TX cards?

    I was referring to the device name in MYKERNEL config file, usually with xl* for PCI card. If you have two identical PCI cards, you'd specify that device name once.
  18. #10
  19. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Now I must have been the one asleep It totally didn't register that he was talking about compiling a custom kernal, I was still in the 'how do i reference it, etc." mode
  20. #11
  21. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    canada
    Posts
    5
    Rep Power
    0
    i was just curious to ask you guys since you guys probably no a little more than i do, what do you think of my configuration? Do you think the method i used is appropriate???

    TIA

IMN logo majestic logo threadwatch logo seochat tools logo