MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 44 posts ]  Go to page 1, 2, 3, 4, 5  Next
new inxi features of possible interest 
Author Message
Forum Regular
Forum Regular

Joined: Sat Nov 15, 2008 3:16 pm
Posts: 269
Has thanked: 0 time
Have thanks: 44 times
Post # 271009
Post new inxi features of possible interest
I've just finished a large chunk of inxi improvements.

Latest version now: 1.4.86

New options: -n
shows an additional line of information for user network cards, the interface id, like: eth0, status up/down, speed, mac address, duplex mode.

This can help in especially non X situations to verify what actual connection is present, if any.

This is a new feature so it probably won't work for all scenarios, especially usb wifi I suspect, but we'll get that debugged as we get more user feedback, that's why this release is 1.4.86, not 1.5.0

Also, -Gx now shows the graphics card pci busID, also useful for debugging misconfigured xorg.conf files or whatever.

A new option allows users to pick from one of about 30 color schemes, this is started by running inxi in terminal, with -c 94 to 99 options, like so: inxi -c 98

This runs what is basically a color picker for the schemes, then writes them to user config files.

Code:
-c  Available color schemes. Scheme number is required. Color selectors run a color selector option
    prior to inxi starting which lets you set the config file value for the selection.
    Supported color schemes: 0-30 Example: inxi -c 11
    Supported color selectors: 94 (console, no X); 95 (terminal, X); 96 (irc, X);
    97 (irc, X, in terminal); 98 (irc, no X); 99 (global).
-n  Show Advanced Network card information. Same as -Nnx. Shows interface, speed, mac id, state, etc.


I also fixed the inxi updater, inxi -U, now it's more robust and less prone to failures, and has better exit error messages to let the user know what to do to fix the problem depending on the cause.

I think that's the main changes, a lot of smaller cleanup items, but these are the ones you might find of interest in terms of user support.


Tue Apr 26, 2011 11:13 pm Profile WWW
Forum Guide
Forum Guide
User avatar

Joined: Sat May 16, 2009 3:59 pm
Posts: 2902
Has thanked: 420 times
Have thanks: 446 times
Post # 271019
Post Re: new inxi features of possible interest
.

It says "State: unknown" ?

Code:
Card Macronix [MXIC] MX987x5 driver tulip v: 1.1.15-NAPI port c800 busID: 00:0c.0
IF: eth0 state: unknown speed: N/A duplex: N/A mac: xx:xx:xx:xx:xx

_________________
Gigabyte 990FXA-UD3, AMD FX-6100 hex-core, 3.3GHz, Radeon HD6570
Gigabyte A55M-DS2, AMD A4-3400 dual-core APU (llano), 2.7 GHz, Radeon HD graphics
IBM ThinkPad T43, Intel Pentium M, 1.73GHz, Intel chipset


Wed Apr 27, 2011 12:23 am
Profile
Forum Regular
Forum Regular

Joined: Sat Nov 15, 2008 3:16 pm
Posts: 269
Has thanked: 0 time
Have thanks: 44 times
Post # 271021
Post Re: new inxi features of possible interest
Correct, older kernels I am seeing have very little information available, and the 'unknown' value is in fact the value the system gives to inxi, I get that on my Lenny kernels, for example.

I believe a newer kernel will show you more, they seem to be filling in that section of /sys on more recent kernels.

Can't say for sure, haven't seen enough data yet, that's what I noticed on the first tests and results though.Network:
Card Altima (nee Broadcom) AC9100 Gigabit Ethernet driver tg3 v: 3.115 busID: 01:09.0
IF: eth0 state: up speed: 100 Mbps duplex: full mac: xx:xx:xx:xx:xx:xx

for example is running with the 2.6.37 kernel.


Wed Apr 27, 2011 2:08 am

h2-1 thanked by: lucky9
Profile WWW
Forum Regular
Forum Regular
User avatar

Joined: Wed Aug 30, 2006 1:44 am
Posts: 606
Location: Midway between the Washington State rainforest, ocean and volcanoes
Has thanked: 773 times
Have thanks: 69 times
Post # 271070
Post Re: new inxi features of possible interest
For those of us playing at home

/http://www.inxi.org/

Still learning about it:

Although I am pretty sure I installed inxi via smxi, I am showing 1.4.23-1 as the latest available via Synaptic - is it a matter of waiting for the deb to be updated there, and/or where is the latest version available?

What is the command to show the most information? ( Mine below is a result of inxi -F )

Thanks for a great tool.

_________________
...Ostara.................................... minni
Image Image
...Mepis 11_64...........................Mepis 11_32


Wed Apr 27, 2011 1:49 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 7110
Has thanked: 390 times
Have thanks: 2312 times
Post # 271072
Post Re: new inxi features of possible interest
iridesce wrote:
For those of us playing at home

/http://www.inxi.org/

Still learning about it:

Although I am pretty sure I installed inxi via smxi, I am showing 1.4.23-1 as the latest available via Synaptic - is it a matter of waiting for the deb to be updated there, and/or where is the latest version available?

What is the command to show the most information? ( Mine below is a result of inxi -F )

Thanks for a great tool.

I'm showing the current version of inxi to be 1.4.86

You should be able update to the latest inxi version using it's -U option:
Quote:
su -c 'inxi -U'


Wed Apr 27, 2011 2:02 pm

kmathern thanked by: iridesce
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2926
Location: Greece
Has thanked: 396 times
Have thanks: 824 times
Post # 271073
Post Re: new inxi features of possible interest
You could also update with inxi -U ie no need to be root.
BTW no need to run inxi as root either.

_________________
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX "Luddite" - lean and mean.
http://antix.mepis.org


Wed Apr 27, 2011 2:05 pm Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 7110
Has thanked: 390 times
Have thanks: 2312 times
Post # 271074
Post Re: new inxi features of possible interest
anticapitalista wrote:
You could also update with inxi -U ie no need to be root.
BTW no need to run inxi as root either.
I think it depends on how inxi was originally installed whether you update it as root or as a regular user.

If it was originally installed using Synaptic I think you would need to update it as root.


Wed Apr 27, 2011 2:10 pm

kmathern thanked by: iridesce
Profile
Post # 271075
Post Re: new inxi features of possible interest
Quote:
This is a new feature so it probably won't work for all scenarios, especially usb wifi I suspect, but we'll get that debugged as we get more user feedback, that's why this release is 1.4.86, not 1.5.0


Code:
harry@bikertest4:~$ sux
Password:
root@bikertest4:/home/harry# inxi -U
Starting inxi self updater.
Currently running inxi version number: 1.4.23
Updating inxi in /usr/local/bin using svn server as download source...
Successfully updated to svn server version: 1.4.86
To run the new version, just start inxi again.
root@bikertest4:/home/harry# inxi -n
Network:   Card Intel 82801BA/BAM/CA/CAM Ethernet Controller driver e100 v: 3.5.24-k2-NAPI port 2000 busID: 02:08.0
           IF: eth0 state: down speed: 10 Mbps duplex: half mac: 00:09:6b:b8:bf:d4
root@bikertest4:/home/harry# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
Bus 002 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse
root@bikertest4:/home/harry# inxi -F
System:    Host bikertest4 Kernel 2.6.36-1-mepis-smp i686 (32 bit) Distro antiX-M11-686 Jayaben Desai 24 April 2011
CPU:       Single core Intel Pentium 4 (-UP-) cache 256 KB flags (sse sse2) bmips 3587.73 clocked at 1793.866 MHz
Graphics:  Card: nVidia NV6 [Vanta/Vanta LT] busID: 01:00.0 X.org 1.9.5 Res: 80x24 Gfx Data: N/A for root
Audio:     Card Intel 82801BA/BAM AC'97 Audio Controller driver Intel ICH ports 1c00 1840 busID: 00:1f.5
           Sound: Advanced Linux Sound Architecture Version 1.0.23
Network:   Card Intel 82801BA/BAM/CA/CAM Ethernet Controller driver e100 v: 3.5.24-k2-NAPI port 2000 busID: 02:08.0
Disks:     HDD Total Size: 100.1GB (11.5% used) 1: /dev/sda IC35L040AVVA07 40.0GB
           2: /dev/sdb SAMSUNG_SV6003H 60.1GB
Partition: ID:/ size: 26G used: 2.7G (11%) fs: ext3 ID:swap-1 size: 1.17GB used: 0.00GB (0%) fs: swap
           ID:swap-2 size: 1.16GB used: 0.00GB (0%) fs: swap
Info:      Processes 98 Uptime 5 min Memory 189.6/1135.1MB Runlevel 5 Client Shell inxi 1.4.86
root@bikertest4:/home/harry#

Code:
root@bikertest4:/home/harry# lsusb |grep Realtek
Bus 001 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter

Code:
# lsmod | sort
ac97_bus                 698  1 snd_ac97_codec
arc4                     978  2
button                  3530  1 nouveau
cfg80211               97225  2 rtl8187,mac80211
container               1769  0
cpufreq_conservative     6166  0
cpufreq_powersave        590  0
cpufreq_stats           1910  0
cpufreq_userspace       1456  0
drm                   115936  3 nouveau,ttm,drm_kms_helper
drm_kms_helper         19057  1 nouveau
e100                   21240  0
ecb                     1389  2
eeprom_93cx6             959  1 rtl8187
evdev                   5539  9
floppy                 41460  0
fuse                   46984  1
hid                    50141  1 usbhid
i2c_algo_bit            3349  1 nouveau
i2c_core               12893  4 nouveau,drm_kms_helper,drm,i2c_algo_bit
led_class               1543  1 rtl8187
mac80211              142376  1 rtl8187
mii                     2690  1 e100
Module                  Size  Used by
mperf                    915  0
nouveau               338295  0
output                  1132  1 video
parport                20618  1 parport_pc
parport_pc             15439  0
pci_hotplug            16892  1 shpchp
processor              22611  0
rfkill                 10646  1 cfg80211
rng_core                2274  0
rtl8187                25331  0
shpchp                 17905  0
snd                    33144  8 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
snd_ac97_codec         76597  1 snd_intel8x0
snd_intel8x0           19471  1
snd_page_alloc          4857  2 snd_intel8x0,snd_pcm
snd_pcm                46446  2 snd_intel8x0,snd_ac97_codec
snd_seq                34132  0
snd_seq_device          3635  1 snd_seq
snd_timer              12287  2 snd_pcm,snd_seq
soundcore               3263  1 snd
speedstep_lib           2447  0
thermal                 9374  0
thermal_sys             9304  3 video,processor,thermal
tpm                     7841  1 tpm_tis
tpm_bios                3343  1 tpm
tpm_tis                 5257  0
ttm                    35738  1 nouveau
uinput                  4924  1
usbhid                 25998  0
video                  15179  1 nouveau


The rtl8187 is what is driving my Wireless USB. I Hope/Guess that is the feedback you needed for USB.
Code:
root@bikertest4:/home/harry# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:09:6b:b8:bf:d4 
          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)

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: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)

wlan0     Link encap:Ethernet  HWaddr 00:e0:4c:5a:56:07 
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5398 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3688 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3969301 (3.7 MiB)  TX bytes:612841 (598.4 KiB)


Wed Apr 27, 2011 2:13 pm
Forum Guide
Forum Guide
User avatar

Joined: Thu Jul 13, 2006 2:02 pm
Posts: 1294
Location: Manchester,NH
Has thanked: 64 times
Have thanks: 17 times
Post # 271077
Post Re: new inxi features of possible interest
[In case no one mentioned it yet,]
We have a 'Wiki' entry for inxi, here:

http://www.mepis.org/docs/en/index.php?title=Inxi

Feel free to update any info there, based on new features, or whatever.
[I haven't YET played with the latest version of 'inxi', but plan to very soon.]

EDIT: I've LONG been an advocate of getting Warren to pre-install this script,
but that's never happened. Maybe someone could 'do the right thing' in regards
to putting it into that 'Welcome' (community) thingy? (or whatever it's called.)
It really needs some 'words' along with it, to go beyond just pre-installing it,
so that users LEARN/understand its purpose, and about putting its output
into forum posts when reporting crashes or asking hardware-related questions.

:spinning:

_________________
Lenovo-core-i7-laptop: Mepis-12 / Win-7 / Aptosid
Lenovo-laptop(wife's): Win-7 / M11
"Every day you look in the mirror now, you are looking at an endangered species." - Rob Watson


Wed Apr 27, 2011 2:56 pm
Profile WWW
Forum Guide
Forum Guide
User avatar

Joined: Thu Jul 13, 2006 2:02 pm
Posts: 1294
Location: Manchester,NH
Has thanked: 64 times
Have thanks: 17 times
Post # 271078
Post Re: new inxi features of possible interest
kmathern wrote:
anticapitalista wrote:
You could also update with inxi -U ie no need to be root.
BTW no need to run inxi as root either.
I think it depends on how inxi was originally installed whether you update it as root or as a regular user.

If it was originally installed using Synaptic I think you would need to update it as root.


As it mentions in our wiki entry, it works best if EXECUTED as normal user.
[Some output doesn't get shown, relating to drivers, IIRC, when you run it as root.]
:bagoverhead:

_________________
Lenovo-core-i7-laptop: Mepis-12 / Win-7 / Aptosid
Lenovo-laptop(wife's): Win-7 / M11
"Every day you look in the mirror now, you are looking at an endangered species." - Rob Watson


Wed Apr 27, 2011 3:14 pm

cookdav thanked by: iridesce
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 44 posts ]  Go to page 1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.