Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Other Forums > Chit-Chat


Chit-Chat Relax for a bit and have a general conversation (off topic is allowed!) with other members. Please be polite and respect your fellow members.

Reply
 
LinkBack Thread Tools Display Modes
Old 6th February 2008, 01:53 AM   (permalink)
Default

Quote:
Originally Posted by Styx
you need to open a terminal/command window
should be one in the zenwalk menu

just paste/copy the /sbin/ifconfig into that and copp that into a txt file. insert USB stick and copy the file to said stick and load said file in a machine with internet access and post here

Ok well after copy and pasting most of the letters in to terminal because the keyboard is all wrong at the moment i finally was able to run /sbin/ifconfig, the first result was with the wireless connection D-Link, and the ligh never came on at all on the usb d-link stick.

Code:
one[~]$ /sbin/ifconfig
eth0      
Link encap:Ethernet  HWaddr 00:C0:9F:75:8B:F9  
inet addr:169.254.88.161  Bcast:169.254.255.255  Mask:255.255.0.0
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Interrupt:16 Base address:0x1800 

lo        
Link encap:Local Loopback  
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 
RX bytes:4712 (4.6 KiB)  
TX bytes:4712 (4.6 KiB)

one[~]$
and this second one was with the wired connection straight from my DSL modem.

Code:
one[~]$ /sbin/ifconfig
eth0      
Link encap:Ethernet  
HWaddr 00:C0:9F:75:8B:F9  
          
inet addr:220.236.123.183  
Bcast:220.236.123.255  
Mask:255.255.255.0
          
UP BROADCAST RUNNING MULTICAST  
MTU:1500  Metric:1
          
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:3005 (2.9 KiB)  
TX bytes:4919 (4.8 KiB)
Interrupt:16 Base address:0x1800 

lo       
Link encap:Local Loopback  
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0 
RX bytes:0 (0.0 b)  
TX bytes:0 (0.0 b)

one[~]$
I dont know what any of this means but my ip address does not match any of this, should it, and does showing you this help me get closer to getting the intrnet to work? when i search my ip address in cmd using ipconfig/all its 192.168.0.###
shaneshane1 is offline  
Old 6th February 2008, 02:25 AM   (permalink)
Default

Quote:
Originally Posted by shaneshane1
I dont know what any of this means but my ip address does not match any of this, should it, and does showing you this help me get closer to getting the intrnet to work? when i search my ip address in cmd using ipconfig/all its 192.168.0.###
Is that when you are using the wireless via the D-Link wireless router, and in Windows I suppose? Addresses starting with 192.168.0. are local, so that address is just assigned to the wireless interface on the laptop by the router.

The 169.254.etc address is what you get when the networking system can't get an IP address assigned from the router. Wireless can be an issue in Linux, so get the wired networking up and running first and then you can find more information for getting the wireless going.

It looks to me like the wired connection should be working OK when you connect directly to the DSL modem. Can you get out on the internet when it's connected that way? i.e. can you ping www.google.com? If you can't, can you ping 74.125.19.147 (one of Google's servers)?

Try running lsusb and see what the result is when you have the USB wireless interface plugged in. This will tell you whether the USB is working and detecting the device when it's plugged in. Does the thing have any lights on it, and do they respond/blink when you try to bring up the wireless interface?

What is the make and model of the USB wireless interface?


Torben
Torben is offline  
Old 6th February 2008, 04:23 AM   (permalink)
Default

yes in windows and wireless connection, where is lsusb and what is it?,this is all like a new language to me,i only learnt how to ping something last week, so lucky i even knew what that ment

do you mean ping google in linux or windows because everything is ok in windows, just dont know how to do anything in linux

Make and model of wireless interface

USB is D-Link G54 Air Plus

router is D-Link 802.11g/2.4Ghz

Last edited by shaneshane1; 6th February 2008 at 04:28 AM.
shaneshane1 is offline  
Old 6th February 2008, 07:41 AM   (permalink)
Default

Quote:
Originally Posted by shaneshane1
yes in windows and wireless connection, where is lsusb and what is it?,this is all like a new language to me,i only learnt how to ping something last week, so lucky i even knew what that ment
OK, gotcha. "Run lsusb" just means open a root terminal and type "lsusb". In *nix, "ls" is like "dir" in DOS, and will show you a list of files in the current directory. lsusb means "list usb devices". Similarly, lspci lists devices on the PCI bus, lsmod lists loaded kernel modules, and so on.

You need to get the wired connection on the Linux partition running like it looks like you had it before, and then try to ping www.google.ca to see if the networking is up. If that doesn't work then try pinging the address I gave earlier to see whether networking is up but you just don't have DNS working. Chances are pretty good that if one is working then the other will be too. It's just to help try to narrow things down.

Quote:
do you mean ping google in linux or windows because everything is ok in windows, just dont know how to do anything in linux

Make and model of wireless interface

USB is D-Link G54 Air Plus

router is D-Link 802.11g/2.4Ghz
I'll have a quick google in a bit and see what I can find on those. But the first step is for you to get into Linux, plug in the USB adaptor, and make sure that the machine knows it's there using lsusb.


Torben
Torben is offline  
Old 9th February 2008, 05:22 PM   (permalink)
Default

Just to say, I'm posting this from Firefox, running under Ubuntu LINUX, booting directly from the CD.

Just having a play!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 9th February 2008, 08:27 PM   (permalink)
Default

so you really use linux from the command prompt most of the time like os2?
Gaston is offline  
Old 9th February 2008, 08:40 PM   (permalink)
Default

Yes you can, you can even boot in text mode which is handy on old hardware.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 9th February 2008, 08:42 PM   (permalink)
Default

Quote:
Originally Posted by Gaston
so you really use linux from the command prompt most of the time like os2?
If you like, but there's no reason to. If you are comfortable using the command line in Linux, though, you can access a lot of functionality that isn't available through the GUI. And what's available using the GUI depends on which GUI you're using (XFCE, Gnome, KDE, etc). And you don't need the GUI to have a quite usable machine--you can even browse the web using lynx or links (no pretty pictures though).

The command line interface uses a command interpreter which is essentially a programming language itself. Remember DOS batch files? Imagine those on steroids.


Torben
Torben is offline  
Old 9th February 2008, 08:54 PM   (permalink)
Default

Quote:
Originally Posted by Hero999
Yes you can, you can even boot in text mode which is handy on old hardware.
Or on servers which don't need the GUI, or embedded applications. My work servers don't even have X installed. I run Gnome on my home machine and just ssh into my work servers and work on the command line on those. Using virtual file systems I can browse the remote server filesystem using my local GUI, or for quick stuff I can just copy files back and forth on the command line.

For work we also use TS-7400 ARM boards which run Linux. They'll boot a specially configured version of Linux in 1.1 seconds. I've been playing with the idea of building a mini-smart-home controller system for our 5th-wheel trailer with one.


Torben
Torben is offline  
Old 13th February 2008, 10:42 AM   (permalink)
Default

I'm sorry to stray from the current off topic discussion, but what does everyone think of Fedora? I'm thinking of installing this...
__________________
What is a joule per second?
erosennin is offline  
Old 15th February 2008, 03:42 PM   (permalink)
Default

I used Red Hat Linux 9 awhile ago and didn't think much of it.

Fedora, is supposed to be much better though.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 15th February 2008, 08:30 PM   (permalink)
Default

Quote:
Originally Posted by erosennin
I'm sorry to stray from the current off topic discussion, but what does everyone think of Fedora? I'm thinking of installing this...
We've been using an older Fedora at work for a few years, but as servers, not desktop machines. It's OK but I vastly prefer the Debian package management over the RPM. Maybe it's just a personal preference.


Torben
Torben is offline  
Old 15th February 2008, 10:12 PM   (permalink)
Default

That's one thing that annoys me about Linux: there are 100s of different packagint systems.

Why can't there just be one open and free standard that all distributions stick to?
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 15th February 2008, 11:17 PM   (permalink)
Default

The only (open) standard that exists as far as I know is the Kernel.

I use OpenSuSe 10.3 - very polished OS!
UTMonkey is offline  
Old 16th February 2008, 08:13 AM   (permalink)
Default

Quote:
Originally Posted by Hero999
That's one thing that annoys me about Linux: there are 100s of different packagint systems.

Why can't there just be one open and free standard that all distributions stick to?
Well, to be fair the ones you're most likely to run into are Debian and RPM. But in any case, my answer would be "Why isn't there just one kind of car which everyone has to drive? Why isn't there just one open OS instead of making us choose between Linux, FreeBSD, OpenBSD. . .?"


Torben
Torben is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Linux And Electronics arnieswap General Electronics Chat 4 23rd November 2007 11:24 PM
To Try Linux? Styx Chit-Chat 48 4th October 2007 02:04 PM
Linux schematic/simulator ukeee General Electronics Chat 11 8th October 2006 02:23 AM
linux picaxe serial programmer proggy?help...! loqtius Micro Controllers 4 25th May 2006 12:18 PM
PIC-PG2 JDM programmer & Linux Kane2oo2 Micro Controllers 1 20th February 2004 10:56 AM



All times are GMT. The time now is 07:03 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker