« first day (1256 days earlier)      last day (4060 days later) » 

14:06
blah, I'm having one of those questions that makes me feel stupid.
I just added a switch to my network, and I realise that the switch has no ip address as far as I can tell, and I have no way to work out what's on each of my 3 main network devices
@JourneymanGeek apparently they haven't heard of kilobytes
@JourneymanGeek Do switches have IP adresses now?
@Bob lol
@ThatBrazilianGuy: I've never had a switchy switch
I usually end up repurposing spare routers
14:08
!!define switchy
@ThatBrazilianGuy switchy (colloquial) Having a whisking motion.
!!define whisking
@ThatBrazilianGuy whisking Present participle of
@ThatBrazilianGuy a layer 3 switch is a router, essentially; it would have to have an IP address
@ThatBrazilianGuy: I mean a switch thats just a switch
14:09
terminology: layer 1 joiny thingy = hub
layer 2 joiny thingy = ethernet switch or bridge
layer 3 joiny thingy = layer 3 switch (for clarity) or IP switch or router (all would do NAT)
4 hours ago, by Journeyman Geek
user image
layer 2 switches would have a MAC, but not an IP
@allquixotic: see, I didn't quite realise that.
Then I remembered my hub didn't
(and yes, I am abusing symbols for power line networking gear ;p)
14:11
a hardware layer 2 switch effectively does what ebtables does on Linux; a hardware layer 3 switch or router effectively does what iptables does on Linux
/me regrets having fallen behind on that CCNA-preparing course last year they gave me for free at work. .____.
(And worse, because I had to leave the city for a shitty linux course that taught me nothing!)
you guys will never guess where I learned networking. I learned it as part of a crash course on security testing
(I mean, learned as in, more than the casual knowledge)
I had to learn it to understand how our wonky lab was set up
and I got a history lesson, too, as in ~2009-2010 we were using layer 2 switches that didn't do auto-negotiation
so you had to use actual crossover cables
we had a bunch of oooold layer 2 switches (not routers and not hubs -- hey, at least they weren't hubs!) and a modern layer 3 router forming the IP network of the LAN
these days, unless you're looking at purpose-built enterprise-grade very large scale networking equipment, both hubs and L2 switches are becoming super rare.... almost everything sold to consumers these days is at least a layer 3 switch, if not even more than that, in one device (also typically a modem)
@allquixotic: pretty much
modem routers are foul tho
14:19
except for that revitalized WRT by Linksys
...by Cisco
now its belkin ;p
I wouldn't buy a modem router tho
@JourneymanGeek wat?! geez... Linksys changing its owners a lot o_O
lol
(also, the only reason I have a L2 switch is because it does homeplug)
I'm kinda confused about 802.11n and how to get simultaneous 2.4 and 5GHz on same SSID, more precisely what PCI card(s) I should pick, already asked the question superuser.com/q/700969/289564, any chance you fellas could put me on the right track?
I hope you don't mind me asking this here too.
@EdwardA: thats one of those things they're annoyingly abtuse about
its not the 'same' ssid tho
its 2 ssids on different bands that happen to be the same
and I do suspect a dualband card may do that just fine. At worst go with 2 cards? ;p
Bob
Bob
14:28
@allquixotic I have one of these next to me :D
It's got a "normal/uplink" push switch (mechanical, too :P)
no need for crossover cables there... hopefully
So I should try getting a dual band 802.11a/b/g/n card and hope that I can get a mixed mode that works with a/b/g/n (2.4 and 5) at same time?
Bob
Bob
@allquixotic You can still find L2s quite easily
@EdwardA: I'd try it
Bob
Bob
I actually have a couple. Great when you pretty much just need more ports.
if nothing else, you'll need the dual band card to service the 5ghz range anyway
@Bob: for me, thats most of the time ;p
Bob
Bob
14:30
L3s cost more, and have more overhead...
Is there currently support for that in DD-WRT? Apparently pfsense will have support in next alpha (hopefully).
Bob
Bob
@JourneymanGeek well, it would be an identical ESSID and probably different BSSIDs
Bob
Bob
where ESSID is the name and BSSID is pretty much the MAC address IIRC
@EdwardA: I didn't even know DD-WRT did x86 ;p
Bob
Bob
14:31
@EdwardA Most client cards won't work with both radios at the same time
is using hostapd for his x86 router
@JourneymanGeek Also, if it doesn't work on both 2.4 and 5 at same time and I'll end up having to buy two cards to have one do 11b/g/n 2.4ghz and one 11a/n 5ghz, will they play along nicely?
@EdwardA: I do believe they should
I've run dual wireless interfaced linux systems before
Bob
Bob
hm. actually, 2.4 and 5 on the same card might actually have the same BSSID
dunno
make sure they both use the same wifi infrastructure in the kernel (ideally if they are both part of the mainline linux kernel then you're good)
14:32
I mean, say I pull out a galaxy s-something that supports 5ghz 11n, and I have both cards set on same SSID, will galaxy pick the best 11n 5ghz or it'll pick 11n 2.4 just because it sees it first?
could run into conflicts if one of them is a third-party driver that depends on an old version of mac80211
@EdwardA: we set ours to a different ssid for clarity's sake
Bob
Bob
@EdwardA depends on how aggressive its roaming is
more aggressive roaming will switch when the other is stronger
that way you can be sure its connected to 5ghz N or 2.4 ghz N
Bob
Bob
less aggressive will prefer to stay on one for as long as possible
14:33
I see
also if I set my G ap to say "wireless" the other one is automatically set to "wireless-5g" unless I change it
Bob
Bob
there's other apps like that, and CLI utilities (often only for rooted devices)
@Bob btw when you said "Most client cards won't work with both radios at the same time" I'm not talking at all about client connecting to multiple ones, I'm talking about a server wireless card using both to transmit / receive on both 2.4 and 5 at same time.
hmm -- tempted to install pfsense on my NUC for ease of routerification, though it'll get rid of almost all of my possible use cases of it as a desktop :<
14:35
@EdwardA: in this respect there's no 'server' card
didn't know they had router distros for x86
Anonymous
-5
Q: What is a server? and what can i use it for

blade19899I have people sometimes asking me what a server is, I don't wanna explain it cause they are annoying, and would like somethings to direct them to, in the future :) What is a server?

Anonymous
HOW DO I COMPUTER
Bob
Bob
@EdwardA I'm saying a wifi card designed for use as a client generally doesn't support that in the hardware/firmware
@allquixotic: I knew openwrt existed, but installation instructions were nuts overcomplex
Bob
Bob
14:36
I have yet to see a PC expansion wifi card designed to act as an AP
@Bob master mode?
Bob
Bob
@JourneymanGeek hm?
@JourneymanGeek speaking of, I wonder if OpenWRT on x86 works :D
Bob
Bob
@JourneymanGeek you can operate them as an AP
codel O___O
14:37
Does dual band imply that it has dual radios or its only a bigger word for "supports 5ghz"?
Bob
Bob
but it's not what they're designed for
wonder if CeroWRT is still a thing or if it's obsoleted by openwrt merges
@Bob: thats what master mode does
@EdwardA: its to seperate it from single band n devices
Bob
Bob
there's a very big difference between it works and it's designed for it
@Bob: master mode is designed to run as an AP ;p
hostapd ignores that tho
14:38
@EdwardA generally you have two antennae, one for 2.4 and one for 5 ghz, but they can be connected to the same radio
I don't seem to find any wireless card that says it has dual radios, am I not looking hard enough
?
a radio is basically an ADC that processes analog signal coming off the antenna into quantized information... if you have one radio, chances are it can't do both bands simultaneously, but it could still do either band depending on which antenna it's connected to
if you have two radios then that's a different story
Bob
Bob
@allquixotic IIRC it's normally the same antenna for both
it's fairly rare to actually have different antennae
@Bob then why did the card I bought for my NUC have two antennae?
one for bluetooth and one for wifi?
@EdwardA: look for a ABGN one rather than a BGN one
14:40
but bluetooth is 2.4 ghz
Bob
Bob
@allquixotic I've seen them referred to as primary and secondary
unless that chip has two radios, one for bt and one for wifi
Bob
Bob
or 2T2R setups
@Bob MIMO?
@allquixotic: most have two antennas. amongst other things, for MIMO, selecting for different polarisations....
Bob
Bob
14:40
@allquixotic ya
and some APs have more than that.
Bob
Bob
My laptop came with a 2.4GHz-only card, and it had two antennae connectors
this is where it gets harder to build out a system by hand with the same capabilities as even a crap router
Bob
Bob
same as the 2.4/5 cards, actually
there are 3x3, 4x4 simultaneous dual band routers now
pretty @_@ overall
14:41
@allquixotic: and power use and...
Bob
Bob
@allquixotic there are some mini pcie cards with 3T3R support
@JourneymanGeek NUC. power use not an issue :P
Bob
Bob
a little more common for desktops with full-size pcie
no offence, but it dosen't entirely make sense to me XD
@allquixotic: low, but not as low
@JourneymanGeek Klink is the main reason I DIY'ed instead of Netgearing
remember?????
14:42
oh, you have a specific use case ;p
I suppose I'll have to go with two wireless cards, one for 2.4 and one for 5, question is what will happen when they use same SSID and a client wants to connect to a 11n which is available in both 2.4 and 5. Gonna be fun.
(granted, I have hostapd on my home server)
Thanks a lot for the help and clarifications lads
Bob
Bob
@EdwardA depends on the roaming aggressiveness, but normally unless the other is stronger by a fair margin it'll just stick to whichever it connected to first
and that could be determined by defined preference, signal strength, etc. ... it depends on the specific client
Yeah, that makes sense, at least its better than nothing
Bob
Bob
14:44
it's pretty standard for multiple APs in larger networks to use the same SSID, and the clients just hop around
you'll see that a lot at universities, schools, some businesses, etc.
I'm overcomplicating this for a apartment with 2 pcs and 2 laptops, a pfsense firewall, now a pfsense ap, multiple ssids, cat6 etc..
@Bob: I think there's some specific witchcraft there tho
lol
but its fun
@EdwardA: I have 2 routers, 2 switches, one additional AP (on hostapd) ;p
and yeah, its fun
Bob
Bob
@EdwardA eh, I'm sticking with dedicated APs :P
current tally... hmm...
14:48
pfsense is great though
@Bob: I prefer them, but I figure there's cases where a ghetto AP is alright
Bob
Bob
one adsl2+ modem/router/wirelessAP, three standalone routers/wirelessAP, two switches, one additional wireless AP
@JourneymanGeek keep in mind that the I/O, system resource amount, and CPU capabilities of a "dedicated" router makes them look ghetto compared to even a Celery NUC
Bob
Bob
and a raspberry pi for traffic control at the lowest level
properly configured, a hand-built system can avoid bottlenecks that a router would hit
and not all routers are carefully tested to ensure that they are bottleneck-free
Bob
Bob
14:50
@allquixotic that may be, if they were acting as a router
@allquixotic: don't forget routers usually have custom hardware to handle some stuff
Bob
Bob
but purely as a bridged wireless access point? not intensive at all
most can handle it just fine
I remember having a modem/router that would lose its internet connection when you visited the router configuration page (great confusion for clueless father) because serving the HTML brought the CPU and I/O bus to its knees
modem routers suck ;p
Bob
Bob
most of the wireless and bridging stuff is probably handled by ASICs
not the MIPS CPU on there
14:51
the DSLAM would timeout on the modem due to the I/O bus being saturated for so long, just by serving the homepage of the router configuration
Bob
Bob
heh
you could effectively DoS our home network back then by XHRing to 192.168.1.1
Bob
Bob
@allquixotic mine just throws errors back :P
Bob
Bob
as @JourneymanGeek said, modem/routers suck
14:52
talking of bottlenecks, what's the bottleneck in running cat6 for about 15m, a TL-SG1016 and a pentium 4 pfsense with tp-link gigabit cards and a ga-z77x-ud3h integrated card? Was expecting more than around 500mb/s with iperf
> pentium-4
Bob
Bob
weird, now that i want an example it's actually working
oh, we had a 2wire in the office that was ok
locked down tho
Bob
Bob
@EdwardA The switch is the least likely
1-Wire is a device communications bus system designed by Dallas Semiconductor Corp. that provides low-speed data, signaling, and power over a single signal. 1-Wire is similar in concept to I²C, but with lower data rates and longer range. It is typically used to communicate with small inexpensive devices such as digital thermometers and weather instruments. A network of 1-Wire devices with an associated master device is called a MicroLan. One distinctive feature of the bus is the possibility of using only two wires: data and ground. To accomplish this, 1-wire devices include an 800 pF c...
random google of something i saw in linux kernel config file
14:53
lol
Bob
Bob
the P4 might actually have some trouble with GbE :P
@allquixotic: 2wire is odd
> Java ring
actually I suspect thats the bottleneck too
14:54
please don't tell me that ring runs a JVM
2
Bob
Bob
@allquixotic Of course, just like your credit card.
> English: Java Ring - a ring with a built-in microprocessor, programmable in Java and powered by its own data communication connection. Given to attendees at the 1998 JavaOne conference.
!!no
I was afraid pentium4 is the bottleneck, but I kinda wished it wouldn't get knocked over by a simple gigabit speed
Bob
Bob
@allquixotic holy fuck
@EdwardA eh.. it's old
14:54
actually, being able to bootstrap a JVM on a device the size of a ring in 1998 is amazing
but but
AMAZING
Bob
Bob
@EdwardA a modern Celeron will beat it. by like 5x. in terms of raw processing power
@EdwardA it's more the I/O bus than the processor itself
Pentium 4 is still using FSB, which bottlenecks like a boss
Anyone have experience with HG (mercurial) here?
14:55
use a modern point to point architecture
at least Nehalem
I'd go for at least a core 2
Bob
Bob
@JourneymanGeek not worth it
(since they came with gig-e fairly regularly)
Bob
Bob
basic celeron CPU + motherboard of the Ivy or Haswell type is only about $100
@Bob: assuming he had one lying around ;p
14:56
@Bob Celery NUC :D
Bob
Bob
@allquixotic if he already has the expansion cards, he can reuse them with a full ATX mobo :P
gahhhhhhhhhhh you people and your ginormous ATX routers
Bob
Bob
@allquixotic hey, my router is a RPi
it doesn't get much smaller than that
lol
my router is a router.
Bob
Bob
I was tempted to say "my router is reserved for cutting wood"
14:57
it just seems so inelegant
Bob
Bob
my bloody modem
also, if you only have one lan port, its effectively a fancy AP
;p
Bob
Bob
when I want it to throw an error, nawp
when I need to actually configure it... guess what?
oh here it goes
> 400 Bad Request
No request found.
micro_httpd
@Bob take a look, it might be old, but isn't it beautiful? i.imgur.com/kTnnZVf.jpg
and thanks guys
I'm slightly regretting not picking up that old desktop downstairs ;p
15:00
Bob
Bob
@EdwardA until it catches fire :P
@Bob billion what? billion errors? billion cusswords at it not working?
lol
yes
all these things
@Bob you better contextify that one before someone has to use the little <whatever_they_identify_themselves_as>'s room
most starred message on the star wall
15:03
lol
@allquixotic: or a fire hydrant.
@JourneymanGeek synonym for "toilet" in dogese :P
Bob
Bob
@allquixotic bit late for that
...that came out wrong
bit late to change/contextify*
@Bob rofl
as in, someone already used you? XD
@Bob was intentionally ignoring this message :P
time to work hard! BBL
Anonymous
Anonymous
15:17
wtf golden globes
15:29
"fun" fact
2
lolololol parkinsons
Anonymous
fun
15:52
> i just install the vc_web.exe for visual basic c++ that i download from internet.
Visual Basic C++, is it something new?
16:03
Just know there is usb only monitor. any disadvantages?
@vzhen Your question isn't clear to me. I assume English isn't your native language. In this case, could you please use google translator to rephrase it?
that's right, en not my native lang. I meant any disadvantages using usb to connect monitor? without power and vga or hdmi cable @ThatBrazilianGuy
Never heard of it before. Here's what I found on google: displaylink.com/technology/technology_overview.php
DisplayLink uses software-based real-time variable-quality compression, so in my opinion it is bad, specially for environments where delay isn't desired (gaming)
You can check this out.

http://us.aoc.com/monitor_displays/e2251fwu
22” USB Powered Monitor. Ideal for presentations and dual monitor displays. No external power cord needed.
There might be other technologies for video over USB, but other regulars of this channel might be more suited to discuss those
16:14
then i will just look for normal monitor. do you have any recommended ?
budget around 100 - 150 USD
@vzhen Hidden buried deep on the user manual, this monitor is in fact DisplayLink-powered
I would stay away from a technology that requires a driver in order for the video monitor on top of a driver for the video card.
Also, apparently it is only for PC and Mac, no fun for Linux!
ic, thanks for your research
> DisplayLink software can be used on PCs, from Netbooks, Notebooks/Laptops to Desktops. The driver will run on processors ranging from Atom N270 based PCs, basic single Core CPUs, and of course the latest Dual, Quad Core and Core i3/i5/i7
CPUs.
The performance of the software is dependent upon the processing power available, as well as the operating system in use. More capable systems offer higher performance.
DisplayLink software is available for PCs running one of the following Windows
operating systems: Windows 7 (32 bit or 64 bit), Windows Vista with Service Pack 1 or 2 (32 bit or 64
do you have any recommended? price around 100 - 150 usd
That will depend a lot on where you live, therefore no I have no recomendations
It's been literally more than a decade since I last bought my last video monitor
16:21
ok
@ThatBrazilianGuy this regular is not available at the moment :D
 
1 hour later…
17:55
This is driving me insane:
0
Q: Chiliproject / redmine: cannot start thin on init

That Brazilian GuyI have been tasked with putting a chiliproject instance back online. It is running on a CentOS 6 (64 bits) server. The problem is, I know absolutely zero Ruby, and my Linux knowledge isn't much more advanced than that; I have absolutely no idea where to start. When I load the page on a browser, ...

Please tell me someone here has experience with ubuntu and serial ports :P
damn I hate having to work with serial ports
@rlemon "Someone here has experience with ubuntu and serial ports".
@allquixotic ^^ you are my man of many talents and fair skin
@ThatBrazilianGuy hur hur hur
dmesg | grep tty
 > 00:06: ttyS0 at I/O 0x3f8 ...
I seem to be able to see the port, however using node-serialport scan I see nothing
but it is going through a shifty usb->serial converter so i'm unsure if my problem is that or node-serial :/
waiting for the beagleboard to come in the mail so I can test on the actual hardware
@rlemon huh?
oh, right serial ports
yea they still exist
sadly.
RS232 4 LYFE!
18:05
are you the grain heater guy?
close enough :P
:D
@rlemon grain dryer, right?
or do i have you confused with someone else
RS232, shifty USB to serial, sounds all familiar
this is so frustrating because i am not sure at which end the problem lays. And if I am struggling to get ubuntu to recognize the usb serial adapter then it is pointless because in the end I will not be using the adapter
and yes, grain dryers
we make the automated control systems
@rlemon what is node-serial? :P
(time for me to learn so i can teach... Socrates-style!)
18:08
wat...
NodeJS? serialports?
yup
dude. telnet plz.
nocando
very work
such simple
this is to interconnect existing hardware
100% has to use serial (rs232) interface
not my choice
18:09
ok? but you can at least see whether it's a valid character device using telnet?
I mean you peel back the layers and you try it at a lower level interface (perhaps even an alternative RS232-speaking API that's not Node) and you see if it breaks
the device is only setup to communicate via modbus
ALL of my testing software is written in windows :/
my fault really, when I started here I was a c# junkie
setserial -g /dev/ttyS0
UART: 16550A, Port: 0x0sf8, IRQ: 4
@allquixotic deadlines - I can do this is node.js MUCH faster - assuming I can get over this hurdle (and I would really not like to have to re-invent a serial library for node)
also, it isn't the modbus library that is giving me issues, it is the node serial library
@rlemon OK, but the simplest test of "is this serial to usb converter working" is to attempt to make a modbus connection in C using libmodbus
it is working on windows fine.
18:14
you originally told me that you don't know if it's the hardware or the software
my windows testing software connects and reads / writes like a beast
11 mins ago, by rlemon
but it is going through a shifty usb->serial converter so i'm unsure if my problem is that or node-serial :/
so now you're saying you know it's not the hardware
OK
sorry, the shifty serial converter is not allowing ubuntu to mount it properly is what I meant.
so ubuntu, or node-serialport
that is what i'm trying to figure out
@rlemon lsusb ?
dmesg | grep -i usb ?
> Bus 004 Device 002: ID .... Moxa Technologies ... (the usb->serial converter)
15 mins ago, by rlemon
dmesg | grep tty
 > 00:06: ttyS0 at I/O 0x3f8 ...
grep for usb gives me a few pages
18:19
@rlemon ok, but what driver is being used for it?
!! s/driver/kernel module/
@allquixotic @rlemon ok, but what kernel module is being used for it? (source)
but on the last page it does find the UPORT device (serial - usb)
uhci_hcd
wow, usb 1.1
sounds like the driver layer just communicates with the serial adapter at a raw USB packet layer, meaning that whatever Node is doing to communicate in modbus is in raw javascript without any native interposer
@rlemon try using node.js on windows to access it
unless they're using some kind of natives under the hood
18:25
@JimmyHoffa okay, I'll try that now
after my smoke and coffee
drivers
switched devices
works
SOB
a day and a half
@rlemon ?
what was the fix?
@rlemon changed the usb->serial adapter?
boss finally tells me "try this device, it has drivers build into it. but I only have the one because the company went out of business"
18:36
@_@
@JimmyHoffa changed it a number of times, but all the same type (we stock them for field work)
surprise surprise: company making USB TO SERIAL adapters goes out of business. news at 11.
@allquixotic the funny part is that theirs was the only one today that works
@rlemon I mean tried a different type? (I know precisely how that goes, old job I had to deal with reading smartcards and we had 2 kinds of readers, people were always jockeying/trading for one or the other depending on which one they managed to get working best...)
maybe make them come out of bankruptcy to manufacture your usb to serial converters ;))
18:39
The way I recall it if your had an older machine one of the readers would work and the other wouldn't, if you had a newer machine the opposite... so as peoples machines got changed around or depending on if they were using their laptop or desktop people were always wandering around trying to trade their reader with someone elses heh
(usually after trying for an hour before deciding to try a different reader)
@JimmyHoffa well I got a step forward with a different brand of converter.
still won't open the actual port, but i'm getting there
at least nodejs sees it now
USB and serial are basically the same thing... :o

« first day (1256 days earlier)      last day (4060 days later) »