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.
|
 |
06-24-2017, 09:46 PM
|
#1
|
Member
Registered: Jun 2017
Location: Gold Coast, Queensland, Australia
Distribution: LinuxLite
Posts: 53
Rep: 
|
Using Code brackets in posts
How do I use code brackets in the forums to encapsulate a large list of info into my posts? I have approximately 800 lines of data to post. Perhaps directions to the linuxquestions help pages on the subject.
|
|
|
06-24-2017, 10:01 PM
|
#2
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,937
|
|
|
|
06-24-2017, 10:21 PM
|
#3
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Perhaps there is some way to summarize the data.
|
|
|
06-25-2017, 05:44 PM
|
#4
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
A file, like a .txt or 'better', can be attached. Click on "Go Advanced".
This and http://termbin.com (like postbin or even github) enable readers to download your 'stuff' and do analysis on it (if they choose to spend the time). Yes, try to excerpt a few 'key' lines, for "TL;dr"  !
Play with the Edit post function: select one of your shorter prior posts, experiment a zillion times, then put it back to the way it was! If you click on the "Last edited by <you> <time>" 'footnote', it shows you the history (only accessible to you, not others, so no worry about intermediate messes!)
I wouldn't 'dump' a huge 'inline' code box: readers might not spend the time to dig thru it!
Read this (code and even noparse!): http://www.linuxquestions.org/questi...og.php?b=36313
p.s. Welcome to LQ! Good to see your interest in learning the 'ropes' 
Last edited by !!!; 06-25-2017 at 05:58 PM.
|
|
|
06-25-2017, 06:09 PM
|
#5
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,372
|
Quote:
Originally Posted by clifftec
I have approximately 800 lines of data to post. Perhaps directions to the linuxquestions help pages on the subject.
|
Please don't do that. If you need to post data or code to support your questions, please reduce it to a clear example which others can quickly understand in order to provide an answer. Remember that everyone here volunteers their time. Asking them to parse through 800 lines of data just to understand your questions is asking a lot from most them! The better you prepare your question, the better answers you will likely receive.
Please see the Site FAQ, and in particular this link, for guidance in asking a well formed question with clear supporting data.
If it is truly necessary to post a large amount of data, then provide it as an attachment or upload it to some location which you can then link to, after explaining why it is necessary - generally not in a first post on a topic.
The link to the help pages for using embedded tags in posts is found at the bottom of every page, BB code.
|
|
1 members found this post helpful.
|
06-25-2017, 06:51 PM
|
#6
|
Member
Registered: Jun 2017
Location: Gold Coast, Queensland, Australia
Distribution: LinuxLite
Posts: 53
Original Poster
Rep: 
|
ok, I will delve more into the 'requests for info' and extrapolate the more useful data specific to my issue to post, way to go... thanks. The original request was for the non-supported hardware issue of the ndiswrapper install, I will have a look at the dmesg and find that info.
|
|
|
06-25-2017, 07:13 PM
|
#7
|
Member
Registered: Jun 2017
Location: Gold Coast, Queensland, Australia
Distribution: LinuxLite
Posts: 53
Original Poster
Rep: 
|
I know the internal card is a Qualcomm Atheros AR5007EG Wireless Network Adapter... funny thing wireless works fine when I boot the Win8 OS, one would expect to be able to use those driver wraps I would have thought.The persnickety of it all... 
|
|
|
06-25-2017, 08:31 PM
|
#8
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,299
|
Code:
harry@misohorny1:~$ sudo -i
[sudo] password for harry: xxxxxxxxxxxxx
root@misohorny1:~# lspci | egrep -i --color 'network|ethernet'
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
root@misohorny1:~# lshw -class network
*-network
description: Ethernet interface
product: 82566DM-2 Gigabit Network Connection
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eth0
version: 02
serial: 00:1e:4f:b0:23:53
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=1.4-0 ip=192.168.254.4 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:26 memory:febe0000-febfffff memory:febdb000-febdbfff ioport:ecc0(size=32)
root@misohorny1:~# exit
logout
harry@misohorny1:~$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 285450 3173 0 0 0 0 0 0 285450 3173 0 0 0 0 0 0
eth0: 42844802 35442 0 0 0 0 0 13 2628187 24994 0 0 0 0 0 0
harry@misohorny1:~$ inxi -zv7
System: Host: misohorny1 Kernel: 4.4.0-linuxlite i686 (32 bit gcc: 4.8.4)
Desktop: Xfce 4.11.8 (Gtk 2.24.23) info: xfce4-panel dm: lightdm
Distro: Ubuntu 14.04 trusty
Machine: System: Dell product: OptiPlex 755 Chassis: type: 6
Mobo: Dell model: 0GM819 Bios: Dell v: A11 date: 08/04/2008
CPU: Dual core Intel Core2 Duo E6550 (-MCP-) cache: 4096 KB
flags: (lm nx pae sse sse2 sse3 ssse3 vmx) bmips: 9309
clock speeds: min/max: 2000/2333 MHz 1: 2000 MHz 2: 2000 MHz
Memory: Using dmidecode: you must be root to run dmidecode
Graphics: Card: NVIDIA GF108 [GeForce GT 430]
bus-ID: 01:00.0 chip-ID: 10de:0de1
Display Server: X.Org 1.15.1 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1366x768@59.8hz
GLX Renderer: GeForce GT 430/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 375.66 Direct Rendering: Yes
Audio: Card-1 NVIDIA GF108 High Definition Audio Controller
driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0bea
Card-2 Intel 82801I (ICH9 Family) HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:293e
Sound: Advanced Linux Sound Architecture v: k4.4.0-linuxlite
Network: Card: Intel 82566DM-2 Gigabit Network Connection
driver: e1000e v: 3.2.6-k port: ecc0
bus-ID: 00:19.0 chip-ID: 8086:10bd
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
WAN IP: <filter> IF: eth0 ip-v4: <filter> ip-v6: <filter>
Drives: HDD Total Size: 2000.4GB (0.9% used)
ID-1: /dev/sda model: WDC_WD2003FYPS size: 2000.4GB serial: WD-WCAVY5090310 temp: 34C
Optical: /dev/sr0 model: HL-DT-ST DVDRAM GH41N
rev: MN01 dev-links: cdrom
Features: speed: 40x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 15G used: 5.6G (41%) fs: ext4 dev: /dev/sda1
label: / uuid: cd4c81eb-3e28-4c84-a2cc-93c1992ba0e0
ID-2: /home size: 71G used: 8.3G (13%) fs: ext4 dev: /dev/sda2
label: /home uuid: 4d02afc2-2c6d-4309-928d-a7ccdb4b014c
ID-3: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
label: N/A uuid: abf8aeed-c89e-4cf8-a6a4-d8648b03a950
< snip: irellevant data not pertinent to ther problem is removed on this line>
fs: ext4 label: /data uuid: cf478cb9-3e25-4236-9118-801f1ae76212
ID-18: /dev/sda6 size: 262.14G
fs: ext4 label: /data2 uuid: 16c3c4b1-7067-4f94-8dd2-423c23ea427d
ID-19: /dev/sda7 size: 1379.64G
fs: ext4 label: /misc uuid: a14d3c77-5729-40ee-900a-4c792b99a9da
Sensors: System Temperatures: cpu: 36.0C mobo: N/A gpu: 0.0:53C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 211 Uptime: 28 min Memory: 708.1/3908.8MB
Init: Upstart v: 1.12.1 runlevel: 2 default: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.111 running in x-terminal-emul) inxi: 2.2.35
harry@misohorny1:~$
Instead of 800 lines of code. I snip off what is repeated and not pertinent to the info I wish to provide.
For ndiswrapper
https://ubuntuforums.org/showthread.php?t=885847
Hope you figured the code tag thing out.
Quote:
If it is truly necessary to post a large amount of data, then provide it as an attachment or upload it to some location which you can then link to, after explaining why it is necessary - generally not in a first post on a topic.
|
I use as offsite link for large files to post in a thread https://pastebin.com/
Good luck with it.
|
|
2 members found this post helpful.
|
All times are GMT -5. The time now is 05:15 AM.
|
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
|
|