LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Instllation of the Terayon modem (https://www.linuxquestions.org/questions/linux-hardware-18/instllation-of-the-terayon-modem-351870/)

tornado_11 08-10-2005 11:42 AM

Instllation of the Terayon modem
 
Hi all!

I need the advice how to install this modem in my Fedora Core 4. I have the Ethernet card and Terayon modem. When I enter the "Network configuration" option I see the USB CDC Ethernet driver. I suppose it's what I need. But when I try to activate this device I get this message: "/sbin/adsl-start: line 215: 3380 Terminated $CONNECTION "$@" >dev/null 2>&1". What's wrong? Should I config the IRQ? or something else?

P.S. I found this in logs:

Using interface ppp0
pppoe: ioctl(SI0CGIFMWADDR): Session 0: No such device
Connect: ppp0 <---> /dev/pts/3
Modem hangup
Connection terminated

Please help! I find nothing relevant in the Internet :(

Matir 08-10-2005 01:13 PM

I don't think you need adsl-start. Is your connection ADSL or Cable? In either case, you probably just need a DHCP configuration with it being connected via ethernet.

tornado_11 08-10-2005 01:36 PM

What's that DHCP? I found some information in Google :) But I still have so many questions :(

1. When I use Network configuration I have two options
a. eth0 Marvell Gigabyte Ethernet Controller
b. eth1 USB CDC Ethernet driver

2. I use adsl-setup and provide the DNS of my provider.
Logs:
a. eth0
Connect: ppp0 <--> /dev/pts/3
LCP: timeout sending Config-Request
Connection terminated
ppp0: Timeout waiting for PADO pockets
b. eth1
Unknown interface
Modem hangup

I have ADSL connection. So what should I use eth0 or eth1? And how to config DHCP?

Thank you!

Matir 08-10-2005 01:37 PM

If you use a DSL modem, you *generally* don't need to use adsl-setup, that's intended for PPPoE-style connections. Just do a standard network config with "automatic configuration".

tornado_11 08-10-2005 01:49 PM

Thaaaaanks! :) I selected Ethernet connection and not xDSL, one mouse click and I have my connection active! :)
But now I have the next problem! When I type address in my browser I get : <address> couldn't be found. Please check name and try again. What have I lost? :(

P.S when I do ping to my provider DNS I get:

Network is unreachable

Matir 08-10-2005 01:56 PM

Please post the output of the 'ifconfig' and 'route' commands.

tornado_11 08-10-2005 02:07 PM

route

Destination Gateway Genmask Flags Metric Ref Use Iface

172.24.128.0 * 255.255.224.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
ifconfig

Link encap: Ethernet HWaddr 00:0f:ea:fb:30:94
inet addr: 172.24.148.218 Bcast:255.255.255.255 Mask 255.255.224.0
inet6 addr: fe80::20f:eaff:fefb:3094/64 Scope Link
UP BROADCAST RINNING MULTICAST MTU:1500 Metric:1
RX packets:8936 errors:0 dropped:0 overruns:0 frame:0
TX packets:413 errors:0 droppped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1746128 (1.6 MiB) TX bytes:21107 (26.4 KiB)


lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask 255.0.0.0
inet6 addr ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3352 errors:0 droppped:0 overruns:0 frame:0
TX packets:3352 errors:0 droppped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3425455 (3.2 MiB) TX bytes:3425455 (3.2 MiB)


Matir 08-10-2005 02:27 PM

First you'll want to add:
"route add default gw MODEM_IP"
and
"route add -net MODEM_NET netmask MODEM_NETMASK dev eth0"

MODEM_IP might be, say, 192.168.1.1. MODEM_NET would be 192.168.1.0, and MODEM_NETMASK 255.255.255.0.

tornado_11 08-10-2005 02:42 PM

I tried the first and got

SIOCADDRT: Network is unreachable

I added the default gw of my provider and it was ok I suppose, there was no Network unreachable.

the gw is 172.24.128.1

how should I choose the MODEM_NET and MODEM_MASK?

Matir 08-10-2005 02:51 PM

You know what? I accidentally gave the commands to you in the wrong order, sorry. Try them the other way around. :)

tornado_11 08-10-2005 02:57 PM

I tried the second command and got:
SI0CADDRT: No such device

Was it mistake to use default gw of my provider? :(

Matir 08-10-2005 03:05 PM

Hrrm, try pinging at this point and see if it works.

tornado_11 08-10-2005 03:09 PM

No :( Nothing changed

Network is unreachable for my provider IP any other Unknown host

;(

tornado_11 08-10-2005 03:22 PM

It's strange. I see now in the Configure Network Setting the "Automatically obtain...." is disabled but "Static IP address..." is enabled. Is it possible to enable "Automatic obtain..."?

Matir 08-10-2005 03:25 PM

It should be possible, and that's what you really need.


All times are GMT -5. The time now is 05:32 AM.