Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-22-2012, 11:44 PM
|
#31
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Kendancer1
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.
|
The bold underlined bit is your modem. That is the number you need to tell your computer about so in a terminal type
Code:
route add default gw 192.168.0.1
|
|
|
04-23-2012, 02:22 AM
|
#32
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
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.
|
Fairly simple, again, in the console, enter this
Quote:
ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255 up
|
Where the bit marked in red is the IP address you want to use, permanently. Caution (this is a bit of networking theory) though about the choice.
Let's assume you have tow PC's on trhe same network, consider this:
Quote:
PC 1 192.168.1.25
PC 2 192.168.0.25
|
They will never be able to reach/see each other - I marked the crucial bits in red. For all participating hosts (PC's, printers, modems and what have you) in a network to function together, only the LAST bit has to change. If a bigger network is called for - this scheme only allows for some 255 hosts - a different scheme is called for. These schemes have been determined by IANA and are documented. There is a scheme for each particular use...
Okay, your modem has 192.168.0.1 as address, fair enough, then you'd set the IP address like so:
Quote:
ifconfig eth0 192.168.0.X netmask 255.255.255.0 broadcast 192.168.10.255 up
|
...where X is any unused number you want...
However...this worries me:
Quote:
ifconfig
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:248 errors:0 dropped:0 overruns:0 frame:0
TX packets:248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19200 (19.2KB) TX bytes:19200 (19.2KB)
|
This is the setup for the loopback deviice, but I dont see the setup of the network card...
There should be an entry that starts with eth0 as well...it almost looks as if the network card itself is not (yet) installed in the Linux section...
Quote:
Again, my gratitude to you gents for taking your time to help, Ken.
|
Dont worry, in fact, I enjoy doing this, and I suspect I'm not the only one...
Looking on...
THor
|
|
|
04-23-2012, 03:25 AM
|
#33
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Thor_2.0
Dont worry, in fact, I enjoy doing this, and I suspect I'm not the only one... 
|
+1 Helping out is what sites like this, and Linux itself, is all about.
|
|
|
04-23-2012, 08:24 AM
|
#34
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
k3lt01: Thank you for the modem direction, I entered command "route add default gw 192.168.0.1" Response: ""SIOCADDRT: Operation not permitted.
|
|
|
04-23-2012, 08:28 AM
|
#35
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You need to be root to do that, so try
Code:
sudo route add default gw 192.168.0.1
|
|
|
04-23-2012, 09:08 AM
|
#36
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
Thor: The networking address makes more sense. I entered command "ifconfig eth0 192.168.0.1
(whereas the last digit was tried 3 different times as .1, .2, .3) netmask 255.255.255.0 broadcast 192.168.10.255 up" Reply was same each time:
SIOCSIFADDR: Permission denied
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: Permission denied
SIOCSIFBRDADDR: Permission denied
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
|
|
|
04-23-2012, 09:21 AM
|
#37
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
tobiSGD: Thank you, I entered command "sudo route add default gw 192.168.0.1"
Response: "[sudo] password for kenken:" I entered my password
Response: "SIOCADDRT: No such process"
Ken
|
|
|
04-23-2012, 10:51 AM
|
#38
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
Thor 2, K3lt01 & TobiSGD: Some points about computer. I originally set up my desktop w/ a modem from the local telephone company Qwest (now CenturyLink), the modem was simple but effective. Several months ago I found a different modem on craigslist, also from Qwest but this one has several Internet ports in back to run several pc's, netflix at same time. So this is the one I currently have, this is the one I found IP Address, Subnet Mask & Default Gateway in windows. Could the changing to a different modem cause issues, I had run fine for several months before this whole thing began. Second, I am getting a weird issue w/ my desktop/linux, it began at same time the "firefox can't find the server at start.ubuntu.com" issue began. It is this, when I start up my computer and leave on for several hours with no activity, the screen goes black and the green-lit on/off button goes yellow and I cannot get the screen back on. The Processor, which has a green on/off button is lit but nothing happens. I have to hold Processor button in for several seconds till the processor shuts down, wait several seconds, then I am able to turn computer back on. Computer & screen then works again, only to go thru the process all over again. Any suggestions? Ken
|
|
|
04-30-2012, 11:28 AM
|
#39
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
Hello, is anyone still out there and available to help with my computer issue? Ken.
|
|
|
04-30-2012, 08:46 PM
|
#40
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Sure are Ken, what have you done since your last post a week ago?
|
|
|
04-30-2012, 10:37 PM
|
#41
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
K3lt01: Per TobiSGD, he suggested the following, "sudo route add default gw 192.168.0.1", I posted my results, prior was Thor's entry. I posted my results for that also. Kinda stuck as to what to try next. Did you read the latest thread about the switching to a different modem? I'm not sure that has any bearing, it's worked fine for the windows os, actually it worked fine for about 2 months w/ linux. Ken
|
|
|
04-30-2012, 10:49 PM
|
#42
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Yeah I did read that, sory got a bit on my mind lately so didn't really notice your question about the modem. Did Firefox in Ubuntu work at all with this current modem? If it hasn't then are you able to try the old modem? You will probably need to reset the gateway again if the IP address is different.
|
|
|
05-01-2012, 06:12 AM
|
#43
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
K3lt01: Yes, they both worked when I switched over to the new modem, windows is still running with it. I did hook the old modem back up to check it and had the same issue, one up, one down. The Gateway listed above is of the new modem. Ken.
|
|
|
05-01-2012, 07:06 AM
|
#44
|
LQ Newbie
Registered: Apr 2012
Posts: 26
Original Poster
Rep: 
|
k3lt01: Just a quick thought, would upgrading or reloading my current linux version solve anything? I realize it would take away the trouble-shooting process but...Ken
|
|
|
05-01-2012, 05:26 PM
|
#45
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by Kendancer1
k3lt01: Just a quick thought, would upgrading or reloading my current linux version solve anything? I realize it would take away the trouble-shooting process but...Ken
|
Possibly, but I doubt it. I'm just a little stumped as to what the issue may be. Have you got encryption on the modem? WEP or WPA or anything like that? In other words do you have a password to it.
|
|
|
All times are GMT -5. The time now is 10:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|