Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
That cable is what I was referring to.
I must apologise to Thor, I thought you were running Windows and Ubuntu on the one machine. It may be that Thor is indeed correct and your card is the problem.
Do not try to install anything apart from what is mentioned, we need to keep track of what you actually have installed.
From your Windows machine please download this file and this file and save them to a USB drive. Then put the USB drive into your Ubuntu machine and install both of these with gdebi. All you should need to do is right click and select open with gdebi on each one. Reboot the machine, with the cable connected to the port, and let us know what happens.
K3lt01: I downloaded both files, the 1st firmware has a later version in computer already and firmware non-free was downloaded, both are in computer. I restarted and nothing new happened.
Repo: You asked:
"Did you set the default gateway?" I am not sure what that is.
You wrote: "Please post the output (as root) from
Code:
route -n
ifconfig
cat /etc/resolv.conf
I have to explain, my friend, I have used Linux for 6 years w/ much satisfaction, I however am clueless as to what the above means, can you break it down for one less fortunate in Linux? My appreciation is immense for all the help, Ken.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by Kendancer1
K3lt01: I downloaded both files, the 1st firmware has a later version in computer already and firmware non-free was downloaded, both are in computer. I restarted and nothing new happened.
Ok so that has in theory eliminated that problem. If I were you I would follow, very carefully (in other words just do as suggested don't go any further than what people are suggesting), the good advice given by Thor, Repo, and Jefro, and anyone else who comes along. Good luck.
Well, according to the HCL this card should work out of the box, no firmware needed, drivers in the kernel since version 2.4.
So there are two possible causes for your problem:
- Failing hardware: The card or the cable is defective, or the card is incompatible with your modem (at least one member has mentioned such problems on the HCL)
- Failing software: Either your PC has problems with getting DHCP leases from the modem or the modem is not offering DHCP functionality to the net.
The output from the commands repo asked for would definitely helped, but i think it may possibly also help if you clarify this:
Quote:
I have checked my connection by connecting a laptop to my modem and I can run it with window 97 with a few glitches.
Please explain exactly what kind of glitches happened, may be it is related to the problem.
Failing software: Either your PC has problems with getting DHCP leases from the modem or the modem is not offering DHCP functionality to the net.
How about eliminating that factor? Ken, can I tempt you to use a static IP address on the inside? That could eliminate at least one "loose end"...unless I lost the flow of the thread and you already tried that...
Thor:
New development, I started up computer today and when clicking on firefox got a response on screen: "Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. You can try:"
-Removing one or more tabs that you think may be causing the problem
-Starting an entirely new browsing session. Below it gives options which are:
"Restore Windows and Tabs"
Window 1
About:startpage http://support.moxilla.com/1/firefox...S/firefox-help
I chose the last option and clicked on "restore" key. Nothing new happened.
Now onto your previous message. When you say console I assume it is the terminal, yes? I keyed in route. The response: Destination Gateway Genmask Flags Metric Ref Use Iface
I keyed in "route add default gw [IP address of the modem]"
Response: Usage: inet_route [-vf] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet-route [-FC] flush NOT suppoorted
Ken
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by Kendancer1
Now onto your previous message. When you say console I assume it is the terminal, yes? I keyed in route. The response: Destination Gateway Genmask Flags Metric Ref Use Iface
You need to give it a little time to find the gateway. I did mine last night and it took 30 seconds to come up even though I have instant net conectivity.
Quote:
Originally Posted by Kendancer1
I keyed in "route add default gw [IP address of the modem]"
Response: Usage: inet_route [-vf] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet-route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet-route [-FC] flush NOT suppoorted
Ken
Where Thor has [IP address of the modem] he means you need to put in a series of numbers called the IP address. Something like 196.186.0.1 or even 10.0.0.1. You need to either have the modem's information (use your Windows machine if need be to find out what it is) or guess starting with those two numbers.
route {-h|--help} [<AF>| Detailed usage syntax for specified
AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-f, --fib display forwarding information Base (default)
-c, --cache display routing cache instead of FIB
<AF>=Use '-A<af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Applletalk DDP)
x25 (CCITT X.25)
When you ask me to type a command into the terminal, am I to type all on one line or key each line separately? I wasn't sure so did the above. This is still pretty new to me but gives me great keyboarding practice, Ken.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by Kendancer1
When you ask me to type a command into the terminal, am I to type all on one line or key each line separately? I wasn't sure so did the above. This is still pretty new to me but gives me great keyboarding practice, Ken.
Each line is a different command.
Ken are you able to access your modem with your Windows machine? If you are then that will help you get the Modem's IP address. If you are not you will need to look up the modems documentation to find it out. Some of these commands like ipconfig will work in Windows. if you open a command prompt in Windows and type in ipconfig you should be able to see some details.
k3lt01: I pulled up Ip address from windows run box, got the following:
Connection-specific DNS Suffix.... Gateway.2wirenet
Ethernet Adapter Local Area Connection
IP Address.........................192.168.0.64
Subnet Mask........................255.255.255.0
Default Gateway....................192.168.0.1
When I entered command "route add default gw 192.168.0.64 into terminal, response was:
SIOCADDRT: Operation not permitted"
This is starting to sink in...like water thru clay.
Thor: in regard to "How about eliminating that factor? Ken, can I tempt you to use a static IP address on the inside? That could eliminate at least one "loose end"." Please explain how to.
Again, my gratitude to you gents for taking your time to help, Ken.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.